[DROOLS-7] remove wasteful creation of temporary arrays