code: def get_loaded_rules(rules_paths):
      
      for path in rules_paths:
          if path.name != '__init__.py':
              rule = Rule.from_path(path)
              if rule.is_enabled:
                  yield rule
docs: Yields all available rules.
  
      :type rules_paths: [Path]
      :rtype: Iterable[Rule]