private IReadOnlyCollection <string> GetWatchedRules(RuleHandlerType handlerType) { return(new HashSet <string>( _handlers.SelectMany(h => h.Value.GetRuleNames(handlerType)), StringComparers.RuleNames)); }