[DROOLS-20] allow equality comparison between an Object and a primitive