api-docs/docs/browser-tracker/markdown/browser-tracker.rulesetprovider.md
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@snowplow/browser-tracker](./browser-tracker.md) > [RuleSetProvider](./browser-tracker.rulesetprovider.md)
## RuleSetProvider type
A ruleset provider is aa tuple that has two parts: a ruleset and the context primitive(s) If the ruleset allows the current event schema URI, the tracker will attach the context primitive(s)
<b>Signature:</b>
```typescript
type RuleSetProvider = [
RuleSet,
Array<ContextPrimitive> | ContextPrimitive
];
```