Before introducing QueryContext
Implemented QueryContext
Poc implemented with xml-rules