code: def parser(rules=None, **kwargs):
      
      rules = RULES_SPLUNK if rules is None else dict(RULES_SPLUNK, **rules)
      return Parser(rules, **kwargs)
docs: Instantiate a parser with the default Splunk command rules.