# Rules tab

The **Rules** tab lists all existing rules and allows you to create a **New Rule**.

In this tab, the **Refresh Cache** button allows you to refresh the cache where all defined rules are stored. By default, the cache is refreshed every 5 minutes.

{% hint style="warning" %}
If there is a new rule or you change a rule, clicking SAVE is not enough to update the cache. It must be refreshed manually by clicking the Refresh Cache button.
{% endhint %}

The **Filters** panel allows you to search Rules by:

* **Rule Name**: enter the name of the Rule you are searching for, and press Enter on your keyboard or the Apply button. The edit box is case-insensitive. The search can be run even if you enter one single character – letter or number. Boolean searches are not supported.
* **Rule Metadata**: enter the metadata of the Rule you are searching, and press Enter on your keyboard or the Apply button. The edit box is case-insensitive. The search can be run even if you enter one single character – letter or number. Boolean searches are not supported.
* **Rule Action**: select the type of Action you want to retrieve and then click the DONE button. The chip or chips of the Action will appear.

To run the query, click the Apply button. The result list will be updated with the Rules satisfying the filters you have specified.

To remove all filters in one go, click **Clear all** at the top-right corner of the Filters panel. To remove a specific value, click the x in the chips or the Search Action edit box.

For a detailed description of how to create a Rule, see [How to create a rule](/data-mover-1.21/file-routing/create-a-rule.md).


---

# 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.primeur.com/data-mover-1.21/file-routing/routing-rules/rules-tab.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.
