public static bool IsMatch(this Rule rule, string input) { return((rule.Matches(input)?.Count() ?? -1) >= rule.MinimumMatchCount); }