[DROOLS-37] fix jitting of comparison contraints
(cherry picked from commit 5ea47c020451949cc52708494afdfa50799467a2)