Changed the way boolean rules are queried during parsing. No functional change intended