> For the complete documentation index, see [llms.txt](https://docs.powerops.app/powerops/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerops.app/powerops/best-practices/data-model-rules/edit-rules.md).

# Edit Rules

The section labeled "Edit Rules" serves to incorporate, adjust, or eliminate any best practice regulations. Accessing the "Edit Rules" section is done by clicking the prominently highlighted green button labeled "Edit Rules.”

<figure><img src="https://2181169139-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIZ1QNzp28aI8y60mWhbR%2Fuploads%2FrBI55Vjo995hzoLKtqZX%2Fimage.png?alt=media&amp;token=95336f8f-0a5c-4298-96d0-481f79718e7b" alt=""><figcaption></figcaption></figure>

The “Edit Rules” window looks as follows:

<figure><img src="https://2181169139-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIZ1QNzp28aI8y60mWhbR%2Fuploads%2F8Miw3QlJAor0dDwAPwKb%2Fimage.png?alt=media&amp;token=e92d9c45-6dce-4ca9-9c6b-5e12e02225ad" alt=""><figcaption></figcaption></figure>

By toggling the rule category buttons at the top, we're able to view a particular set of rules within a specific category:

<figure><img src="https://2181169139-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIZ1QNzp28aI8y60mWhbR%2Fuploads%2Fip7jTMQouEnv53cMLuQL%2Fimage.png?alt=media&amp;token=8f62b6cc-07a5-4a3b-ac94-955e4d4cf474" alt=""><figcaption></figcaption></figure>

By selecting the "+ Add Rule" button, we're able to introduce a new rule into the system:

<figure><img src="https://2181169139-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIZ1QNzp28aI8y60mWhbR%2Fuploads%2FyalRTF40Y13HH16gBUTN%2Fimage.png?alt=media&amp;token=b9f988ba-da78-42ed-994e-488067039a90" alt=""><figcaption></figcaption></figure>

In the table view's "Action" column, there are several options available:

* "Modify Rule Expression": Used for adjusting the rule expression.
* "Copy Rule Expression": Allows duplicating the rule expression.
* "Delete Rule": Removes the rules entirely.

These clickable buttons enable us to carry out alterations to a particular BPA rule:

<figure><img src="https://2181169139-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIZ1QNzp28aI8y60mWhbR%2Fuploads%2FyLLed9cvWtguIytJm8IM%2Fimage.png?alt=media&amp;token=69ac81a1-edcc-4505-976a-78bca80fe8ed" alt=""><figcaption></figcaption></figure>

Moreover, if there's a need to deactivate a rule, preventing its evaluation within the report or data model, we can uncheck the checkbox located in the "Enable" column within the table view for each rule.
