code: def _rule_id(self, id: int) -> str:
          
          if id is None or id == 0 or id >= 10000000:
              return "other"
  
          return "gorule-{:0>7}".format(id)
docs: Convert an integer into a gorule key id.