# Manage rules

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

To access, click on the **Conditional Formatting** dropdown and select **Manage rules** as shown in the image below. A side panel opens, showing a list of all the rules.

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

1. To edit the existing rules, click on the **Pencil** icon.
2. You can use the **Duplicate** icon to create a copy of existing rules and edit further as required.
3. You can delete the rules using the **Delete** icon corresponding to that rule.
4. Using the **On/off toggle**, you can enable/disable the rules.
5. You can reorder and prioritize the rules using the gripper to drag and drop rules.

{% hint style="info" %}
You cannot duplicate conditional formatting types such as quick rules, heat maps, and classifications.
{% endhint %}

#### Prioritizing rules

Let's consider an example to demonstrate how to prioritize rules. Let's add two rules as defined below.

Rule 1: When 2022 Actuals < 2022 Plan, 2022 Actuals are shown in red.

Rule 2: When 2022 Actuals < 2021 Actuals, 2022 Actuals are shown in blue.

When 2022 Actuals are less than both the 2022 Plan and 2021 Actuals, there is a conflict. In such cases, the first rule in the order is executed.

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

<div><figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/CF1%20(1).png" alt=""><figcaption><p>AC &#x3C; PL has a higher priority</p></figcaption></figure> <figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/CF2%20(1).png" alt=""><figcaption><p>AC &#x3C; PY 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.fabricplan.com/planning-sheets/how-tos/adding-business-logic-and-formulae/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.
