# `GSLayer descriptionForAttributeAxisRules`

*Instance Method*

A display description of the Alternative-layer axis rules.

## Declaration

```swift
func descriptionForAttributeAxisRules() -> String?
```

```objc
- (NSString *) descriptionForAttributeAxisRules;
```

```python
descriptionForAttributeAxisRules() -> str
```

## Discussion

Returns `nil` when the axis-rules attribute is missing or invalid.

## See Also

### Alternative Layers

- [`GSLayer.axisRules`](/Core/GlyphsCore/GSLayer/axisRules) — Alternative-layer axis rules keyed by axis ID.
- [`GSLayer axisRuleString:rule:`](/Core/GlyphsCore/GSLayer/axisRuleString:rule:) — A display string for an axis rule.

