docs: def _get_rule_cmds(self, sg_id, sg_rule, delete=False):
          """Helper for getting add/delete ACL rule commands"""
          rule_prefix = ""
          if delete:
              rule_prefix = "no "
          in_rules, eg_rules = self._format_rules_for_eos([sg_rule])
          cmds = []
          if in_rules:
              cmds.append("ip access-list %s dynamic" %
                          self._acl_name(sg_id, n_const.INGRESS_DIRECTION))
              for in_rule in in_rules:
                  cmds.append(rule_prefix + in_rule)
              cmds.append("exit")
          if eg_rules:
              cmds.append("ip access-list %s dynamic" %
                          self._acl_name(sg_id, n_const.EGRESS_DIRECTION))
              for eg_rule in eg_rules:
                  cmds.append(rule_prefix + eg_rule)
              cmds.append("exit")
          return cmds