```ruby
# frozen_string_literal: true

module Networking
  # Represents the Openstack Security Group
  class SecurityGroup < Core::ServiceLayer::Model
    validates :name, presence: true

    def rule_objects
      attribute_to_object('security_group_rules', Networking::SecurityGroupRule)
    end
  end
end
```

Fix wrong base model class for SecurityGroup
user
```ruby
# frozen_string_literal: true

module Networking
  # Represents the Openstack Security Group
  class SecurityGroup < Core::ServiceLayerNg::Model
    validates :name, presence: true

    def rule_objects
      attribute_to_object('security_group_rules', Networking::SecurityGroupRule)
    end
  end
end
```
assistant