Skip to main content
Adding rules to a policy
Daniel Towers avatar
Written by Daniel Towers
Updated this week

Policies are defined as a list of rules like “find this text” or “find images larger than this size”. You can combine these rules to meet your needs.

First, you need to either create a new policy or edit an existing policy.

To add a rule to a policy, click the Add rule button and select the type of rule you want to add.

You can see a list of supported policy rules here.

Once you have selected a rule it will be immediately added to your policy. You can then specify options for that rule, which will depend on the rule you selected. For example, this is a text rule:

The example rule above matches text containing “bad”. By default, rules require that something is included, but you can also match things that are not included by clicking the “includes” switch above the rule:

You can add more rules in the same way. By default, additional rules must all match for the rule to pass, i.e. your rules are combined with an ‘AND’, like this: “Rule 1 AND Rule 2 AND Rule 3”.

If you prefer, you can change this so all of your rules are combined by an OR instead, like this: “Rule 1 OR Rule 2 OR Rule 3”. To do this change the Operator option to “OR”.

Policy rule types

Silktide offers several types of rules. These types are meant to target specific elements on your page, such as links, images, or email addresses. They can also look at attributes of a page, such as its title, URL, or how many clicks it is from your homepage. As described above, you can combine these rules to identify content for your team. Below is a list of the rule types available within Silktide, the types of content they works on, and articles that describe each type in more detail:

Did this answer your question?