> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pdc-10.2-data-optimizer/pdso-management/pdso-use-rules/pdc-rule-definitions.md). Agents can also search and read this documentation through its [MCP server](https://docs.pentaho.com/~gitbook/mcp).

# Rule definitions

Rule definitions specify the criteria and actions performed by a rule.

Click **Definitions** on the **Metadata Rules** card to open the **Rule Definitions** table on the Manage Metadata Rules page.

![Manage Metadata Rules page](https://2613472723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTt1SdXx3alZu8NJiPBj6%2Fuploads%2Fgit-blob-5f5da0cdddd5bb12385f0b41e1e570a38145b70d%2FPDC%20Manage%20Metadata%20Rules%20page.png?alt=media)

The information in the **Rule Definitions** table is described below.

| Column                                                                                                                                                                                                                                    | Description                                                                                                                                                                                                         |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Rule Definition**                                                                                                                                                                                                                       | The name of the rule definition.                                                                                                                                                                                    |
| **Description**                                                                                                                                                                                                                           | The description of the rule definition.                                                                                                                                                                             |
| **Created By**                                                                                                                                                                                                                            | The creator of the rule definition.                                                                                                                                                                                 |
| **Rule Type**                                                                                                                                                                                                                             | The type of rule definition.                                                                                                                                                                                        |
| **Applied Rule**                                                                                                                                                                                                                          | Shows whether the rule definition was applied.                                                                                                                                                                      |
| **State**                                                                                                                                                                                                                                 | <p>Controls the state of the rule definition:</p><ul><li>Click <strong>Enable</strong> to enable the rule definition for use.</li><li>Click <strong>Disable</strong> to disable the rule definition.</li></ul>      |
| **View**                                                                                                                                                                                                                                  | Click to view the rule definition.                                                                                                                                                                                  |
| <p><img src="https://2613472723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTt1SdXx3alZu8NJiPBj6%2Fuploads%2Fgit-blob-df92ee60a4db655bf59fd4e197fbbcd4fdbde731%2FPDSO%20More%20options.png?alt=media" alt=""></p> | <p>The <strong>More options</strong> icon:</p><ul><li>Click and choose <strong>Edit</strong> to edit the rule definition.</li><li>Click and choose <strong>Delete</strong> to delete the rule definition.</li></ul> |
| <p><img src="https://2613472723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTt1SdXx3alZu8NJiPBj6%2Fuploads%2Fgit-blob-f7656d79ccf70697b6a1558e0afb87566dbe4651%2FPDSO%20Delete%20icon.png?alt=media" alt=""></p>  | The **Delete** icon. Click to delete a rule definition.                                                                                                                                                             |

Click \*\*Import Rule Definition\*\* or \*\*Export Rule Definition\*\*, respectively, to import or export a rule definition. See the following topics when importing or exporting rule definitions:

*
*

Click **Add Rule Definition** to add a new rule definition. See the following topics when working with rule definitions:

* [Creating a rule definition](https://docs.pentaho.com/pdc-10.2-data-optimizer/pdso-management/pdso-use-rules/pdc-rule-definitions/pdc-creating-a-rule-definition.md)
* [Editing a rule definition](https://docs.pentaho.com/pdc-10.2-data-optimizer/pdso-management/pdso-use-rules/pdc-rule-definitions/pdc-editing-a-rule-definition.md)
* [Deleting a rule definition](https://docs.pentaho.com/pdc-10.2-data-optimizer/pdso-management/pdso-use-rules/pdc-rule-definitions/pdc-deleting-a-rule-definition.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pentaho.com/pdc-10.2-data-optimizer/pdso-management/pdso-use-rules/pdc-rule-definitions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
