<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_create_security_group_commands(self, sg_id, sg_rules):
 """Commands for creating ACL"""

        cmds = []
        in_rules, eg_rules = self._format_rules_for_eos(sg_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(in_rule)
        cmds.append("exit")
        cmds.append("ip access-list %s dynamic" %
                    self._acl_name(sg_id, n_const.EGRESS_DIRECTION))
        for eg_rule in eg_rules:
            cmds.append(eg_rule)
        cmds.append("exit")
        return cmds