debug matchRules