---
title: rules
framework: tipkit
role: symbol
role_heading: Instance Property
path: tipkit/tip/rules
---

# rules

The rules that determine when a tip is eligible for display. For more information on rules, see Rule.

## Declaration

```swift
@Tips.RuleBuilder var rules: [Self.Rule] { get }
```

## Discussion

Discussion Use this property to define the rules for when your tips display. If you don’t supply a value, this property returns an empty array of type Rule.

## See Also

### Controlling when tips appear

- [Rule](tipkit/tip/rule.md)
- [Event](tipkit/tip/event.md)
