Reduce memory usage by removing the predicate counter from rule_matcher.