Fetch condition match flag in rules query

* The condition match flag determines the trigger for the rule's actions
If set, the actions only execute if all the conditions match, else any
match will trigger the actions