<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEFilterDataProvider/handleRulesChanged()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEFilterDataProvider(im)handleRulesChanged"
  },
  "title" : "handleRulesChanged()"
}
-->

# handleRulesChanged()

Handle a rules changed event.

```
func handleRulesChanged()
```

## Discussion

The system calls this method when the Filter Control Provider calls the `notifyRulesChanged` method or returns a [`NEFilterControlVerdict`](/documentation/NetworkExtension/NEFilterControlVerdict) with the [`updateRules()`](/documentation/NetworkExtension/NEFilterControlVerdict/updateRules()) property set to YES.

---

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)