docs: def _supported_rule(protocol, ethertype):
          """Checks that the rule is an IPv4 rule of a supported protocol"""
          if not protocol or protocol not in utils.SUPPORTED_SG_PROTOCOLS:
              return False
  
          if ethertype != n_const.IPv4:
              return False
  
          return True