<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TipKit",
  "identifier" : "/documentation/TipKit/Tip/rules",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "TipKit"
    ],
    "preciseIdentifier" : "s:6TipKit0A0P5rulesSayAA4TipsO4RuleVGvp"
  },
  "title" : "rules"
}
-->

# rules

The rules that determine when a tip is eligible for display.
For more information on rules, see [`Rule`](/documentation/TipKit/Tips/Rule).

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

## 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`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)