# Manage rules

When you have several conditional formatting rules in your report, you can easily view and modify them using the **Manage Rules** option.&#x20;

To access, click on the 'Conditional formatting' dropdown and select **Manage rules.** A side panel opens, showing a list of all the rules.

<figure><img src="/files/grEqP3aFkNPCvy2RKWkM" alt=""><figcaption><p>Manage rules </p></figcaption></figure>

a) To edit the existing rule, click on the '**Pencil'** icon.

b) Use the 'Duplicate' icon to make a copy of existing rules and then edit them as needed.

c) To delete the rules, select the 'Delete' icon next to each rule.

d) Using the '**On/off toggle'**, you can enable/disable the rules.

e) You can reorder and prioritize the rules using the gripper to drag and drop rules.

#### Prioritizing rules

Let's consider an example of prioritizing rules. Let's add two rules as defined below.

Rule 1: When Actual Sales < 1000k, the actuals are shown in blue with bold style.

<figure><img src="/files/h2iWLWBTdex80CdrqI7t" alt=""><figcaption><p>Rule 1</p></figcaption></figure>

Rule 2: When Actual Sales < Forecast, the actuals are shown in red.

<figure><img src="/files/mBCMu1waFo0XkZ3cXTQI" alt=""><figcaption><p>Rule 2</p></figcaption></figure>

When both conditions are enabled, a conflict occurs when data meets both conditions. In such cases, **the first rule in the order is executed.**&#x20;

In the image on the left, Rule 1 is executed first. So, most values are in blue. In the image on the right, the values are in red.

<div><figure><img src="/files/R0HnuMled6QIinjXcMVr" alt=""><figcaption><p>Sales &#x3C; 1000k has a higher priority</p></figcaption></figure> <figure><img src="/files/bLJl9e4jIbmVVdma1Ced" alt=""><figcaption><p>Sales &#x3C; Forecast has a higher priority</p></figcaption></figure></div>


---

# 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.inforiver.com/premium-table/working-with-premium-table/5.-conditional-formatting/manage-rules.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.
