docs: def _get_rules_from_aws(self):
          """
          Load the EC2 security rules off AWS into a list of dict.
  
          Returns:
              list
          """
          list_of_rules = list()
  
          if self.profile:
              boto3.setup_default_session(profile_name=self.profile)
  
          if self.region:
              ec2 = boto3.client('ec2', region_name=self.region)
          else:
              ec2 = boto3.client('ec2')
  
          security_groups = ec2.describe_security_groups(Filters=self.filters)
  
          for group in security_groups['SecurityGroups']:
              group_dict = dict()
              group_dict['id'] = group['GroupId']
              group_dict['name'] = group['GroupName']
              group_dict['description'] = group.get('Description', None)
  
              if (group.get('IpPermissions', None) or
                      group.get('IpPermissionsEgress', None)):
                  group_dict['rules'] = list()
  
              for rule in group.get('IpPermissions', None):
                  rule_dict = self._build_rule(rule)
                  rule_dict['direction'] = "INGRESS"
  
                  group_dict['rules'].append(rule_dict)
  
              for rule in group.get('IpPermissionsEgress', None):
                  rule_dict = self._build_rule(rule)
                  rule_dict['direction'] = "EGRESS"
  
                  group_dict['rules'].append(rule_dict)
  
              list_of_rules.append(group_dict)
  
          return list_of_rules