# Creating a Rule

You can create rules by going to the Rules page. You can have an unlimited number of rules, and each rule acts independently of the other rules. Rules can also be edited at any time.

To create a new rule, click the floating action button plus sign on the Rules page.

<figure><img src="/files/LmOF7bKroEyzlUjaXkRB" alt=""><figcaption><p>Click the floating action button to start creating a new rule.</p></figcaption></figure>

<figure><img src="/files/fv0alvlewGAxw0f0IUJw" alt=""><figcaption><p>An empty rule creation dialogue.</p></figcaption></figure>

Give the rule a name and set the targets, triggers, and actions as desired. Once set, click save. The rule will now be in effect.

<figure><img src="/files/KQ8SqBZ9FyLI3gymiOdR" alt=""><figcaption><p>Example Nudge rule that gets added to every new employee and applied to all trainings.</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.itsaffinity.com/product-guides/internal-organizations/rules-engine-management/creating-a-rule.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
