code: def add_unique_doc_rules(self, rules_str, customize):
          
          rules = [r.strip() for r in rules_str.split("\n")]
          self.add_unique_rules(rules, customize)
          return
docs: Add rules (a docstring-like list of rules) to grammar.
          Note that the rules must not be those that set arg_count in the
          custom dictionary.