diff --git a/easy-rules-core/pom.xml b/easy-rules-core/pom.xml
index 7943783..fab3ef9 100644
--- a/easy-rules-core/pom.xml
+++ b/easy-rules-core/pom.xml
@@ -92,6 +92,12 @@
jsr305
test
+
+ org.jspecify
+ jspecify
+ 1.0.0
+ test
+
diff --git a/easy-rules-core/src/main/java/org/jeasy/rules/core/RuleProxy.java b/easy-rules-core/src/main/java/org/jeasy/rules/core/RuleProxy.java
index 0819531..9bcba58 100644
--- a/easy-rules-core/src/main/java/org/jeasy/rules/core/RuleProxy.java
+++ b/easy-rules-core/src/main/java/org/jeasy/rules/core/RuleProxy.java
@@ -29,6 +29,7 @@
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
+import java.lang.reflect.Parameter;
import java.lang.reflect.Proxy;
import java.util.ArrayList;
import java.util.Iterator;
@@ -175,8 +176,8 @@ private Object compareToMethod(final Object[] args) throws Exception {
private List