code: def add_match_rules(self, match_rules):
          
          if type(match_rules) == list:
              for r in match_rules:
                  self.add_match_rule(r)
          else:
              # Handle a single rule being passed in that's not in a list
              self.add_match_rule(match_rules)
docs: Add the given match rules to the ruleset. Handles single rules or a list of rules.
          :param match_rules: Object representing YAML section from config file
          :return:
  
          Example match_rules object:
              [{'filename-starts-with': 'abc'}, {'filename-ends-with': 'xyz']