! Refactor DynamicRuleDispatch for performance and access to `ruleNames` Seq