[DROOLS-493] allow using generics with modify in RHS