bool matchedAnyRule(RuleSet ruleSet, Element element) { return matchedRules(ruleSet, element).isNotEmpty; }