code: def create_rule_section(self, name, add_pos=None, after=None, before=None):
          
          href = self.href
          params = None
          if add_pos is not None:
              href = self.add_at_position(add_pos)
          elif before or after: 
              params = self.add_before_after(before, after) 
          
          return ElementCreator(
              self.__class__,
              exception=CreateRuleFailed,
              href=href,
              params=params,
              json={'comment': name})
docs: Create a rule section in a Firewall Policy. To specify a specific numbering
          position for the rule section, use the `add_pos` field. If no position or
          before/after is specified, the rule section will be placed at the top which
          will encapsulate all rules below.
          Create a rule section for the relavant policy::
          
              policy = FirewallPolicy('mypolicy')
              policy.fw_ipv4_access_rules.create_rule_section(name='attop')
              # For NAT rules
              policy.fw_ipv4_nat_rules.create_rule_section(name='mysection', add_pos=5)
          
          :param str name: create a rule section by name
          :param int add_pos: position to insert the rule, starting with position 1.
              If the position value is greater than the number of rules, the rule is
              inserted at the bottom. If add_pos is not provided, rule is inserted in
              position 1. Mutually exclusive with ``after`` and ``before`` params. 
          :param str after: Rule tag to add this rule after. Mutually exclusive with
              ``add_pos`` and ``before`` params. 
          :param str before: Rule tag to add this rule before. Mutually exclusive with
              ``add_pos`` and ``after`` params. 
          :raises MissingRequiredInput: when options are specified the need additional  
              setting, i.e. use_vpn action requires a vpn policy be specified. 
          :raises CreateRuleFailed: rule creation failure 
          :return: the created ipv4 rule 
          :rtype: IPv4Rule