[DROOLS-360] fix incremental compilation for rule templates