code: def get_converter(rule):
      
      for converter, _, _ in parse_rule(str(rule)):
          if converter is not None:
              return converter
      return None
docs: Parse rule will extract the converter from the rule as a generator
  
      We iterate through the parse_rule results to find the converter
      parse_url returns the static rule part in the first iteration
      parse_url returns the dynamic rule part in the second iteration if its dynamic