Taking a path, returns the Rules that pertain to it.
path
Rule
List<Rule> findApplicable({required String path}) => where((rule) => rule.pattern.hasMatch(path)).toList();