---
title: "allow(withUpdateRules:)"
framework: networkextension
role: symbol
role_heading: Type Method
path: "networkextension/nefiltercontrolverdict/allow(withupdaterules:)"
---

# allow(withUpdateRules:)

Create a verdict that indicates to the system that all of the flow’s data should be allowed to pass to its final destination, and that the filtering rules have been updated.

## Declaration

```swift
class func allow(withUpdateRules updateRules: Bool) -> NEFilterControlVerdict
```

## Parameters

- `updateRules`: A Boolean indicating if the Filter Control Provider updated the rules.

## Return Value

Return Value An NEFilterControlVerdict object.

## Discussion

Discussion When the Filter Control Provider passes this verdict to the completion handler passed to its handleNewFlow(_:completionHandler:) method, the system will allow all of the flow’s data to pass to its final destination. In addition, if the updateRules parameter is YES the system will call the Filter Data Provider’s handleRulesChanged() method.

## See Also

### Creating control verdicts

- [drop(withUpdateRules:)](networkextension/nefiltercontrolverdict/drop(withupdaterules:).md)
- [updateRules()](networkextension/nefiltercontrolverdict/updaterules().md)
