[DROOLS-372] fix jitting of constraint using Serializable