[BZ-1100820] allow legacy queries to also work with org.drools.runtime.rule.Variable.v