[DROOLS-91] move the transformed masks cache from the Rule to the ObjectType