# Metadata rules

Metadata rules execute rule definitions on a selected data source.

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

![Metadata rules table](https://2613472723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTt1SdXx3alZu8NJiPBj6%2Fuploads%2Fgit-blob-0b4fa928f324fea4919873acc644f90952ea6c73%2FPDC%20Metadata%20rules%20tab.png?alt=media)

The information in the **Metadata Rules** table is described below.

| Column                                                                                                                                                                                                                                    | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Metadata Rule**                                                                                                                                                                                                                         | The name of the metadata rule.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **Datasource**                                                                                                                                                                                                                            | The name of the data source.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Rule Type**                                                                                                                                                                                                                             | The type of metadata rule.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Owner**                                                                                                                                                                                                                                 | The creator of the metadata rule.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **Last Run**                                                                                                                                                                                                                              | The date and time of the last execution of the metadata rule.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Schedule**                                                                                                                                                                                                                              | The scheduled time for the metadata rule’s execution if applied.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **Details**                                                                                                                                                                                                                               | <p>Click <strong>View</strong> to open the configuration and history of the metadata rule:</p><ul><li>The <strong>Configuration</strong> tab lists the metadata rule name, data source asset, and rule definition, and allows you to select <strong>Run rule definition now</strong> for immediate execution.</li><li>The <strong>History</strong> tab lists previous rule executions including the data source, start time, elapsed time, and the status, The tab allows you to select <strong>Terminate</strong> to disable the rule, or click <strong>Statistics</strong> to view the success and failure details of the operation.</li></ul> |
| <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>Run</strong> to run the metadata rule.</li><li>Click and choose <strong>Edit</strong> to edit the metadata rule.</li><li>Click and choose <strong>Delete</strong> to delete the metadata rule.</li></ul>                                                                                                                                                                                                                                                                                                                                                          |
| <p><img src="https://2613472723-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTt1SdXx3alZu8NJiPBj6%2Fuploads%2Fgit-blob-d79840076cb12462d477d00b09a7416ed18be18e%2FPDSO%20Run%20icon.png?alt=media" alt=""></p>     | The **Run** icon. Click to execute the selected metadata rule.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| <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 the selected metadata rule.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |

Click \*\*Add Rule\*\* to add a new metadata rule. See the following topics when working with metadata rules:

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