code: def add_action_rules(self, action_rules):
          
          if type(action_rules) == list:
              for r in action_rules:
                  self.add_action_rule(r)
          else:
              # Handle a single rule being passed in that's not in a list
              self.add_action_rule(action_rules)
docs: Add the given action rules to the ruleset. Handles single rules or a list of rules.
          :param action_rules: Object representing YAML section from config file
          :return:
  
          Example action_rules object:
              ['print-file-info', {'move-to': '/tmp'}, 'stop-processing']