[DROOLS-590] rewire class literals during query construction
Merge branch 'master' of github.com:droolsjbpm/drools