# Author and run a rule The following steps will guide you through the process of authoring and running a rule in a Workshop application. 1. **Find the Workshop Rule application:** From the workflow configuration screen, select the folder and choose the Workshop application.

![Screenshot of path shown in the workshop configuration page](../../../assets/da64aa54847d1fc419e15d23f0f5ffa4d8023dd4aca70f22dfef26503d7cbc84.webp)

![Screenshot of Workshop application](../../../assets/0c796adf3be348142ff20379e22dfd99b6aed4688b0be66a3c4933b9847f8514.webp)

2. **Author a rule:** Within the Workshop application created in the previous step, click the **Create New** button to begin creating a rule. * (a) Fill out the form at the top of the rule with a name, description, and other information. * (b) Author logic that you want the rule to execute. For example, this could be a simple filter. * (c) Click **Submit changes** to create a proposal for this new rule.

![Authoring a Foundry rule](../../../assets/3787ca8d7c202ab19ffca6248959d66e24ae26e23ef67d45be1308b66b9ee994.webp)

3. **Approve the proposal:** Within the **Proposals** tab of the Workshop application, select the newly created proposal on the left side. * Select **Approve** to activate it as a rule.

![Approving a Foundry rule proposal](../../../assets/8e8117851cb439c079d67c1e11497391c1a20e359e6a0a5de8211bcfe3a2361e.webp)

4. **Build the rule writeback and rules output datasets:** Navigate to the output dataset that was created while [configuring the workflow](../configure-workflow/index.md). The rule writeback dataset is the [writeback dataset or materialization](../../object-edits/materializations/index.md#comparison-of-writeback-datasets-and-materialized-datasets) of the rule object type and holds the rules that the [transforms pipeline](../foundry-rules-workflow-configuration/index.md#rule-execution) applies to your workflow inputs. * Choose **Actions**, then **Explore data lineage** to view the input datasets.

![Navigate to Data Lineage for output dataset](../../../assets/9573dc547ff72296e7e4c04f1273b8923c2690f4b317069aa13bf1d0641dd512.webp)

* Select both the rules writeback dataset (d) and the output dataset (e). * Right-click with both datasets selected and choose **Build**.

![Build the rules writeback and Foundry rules output datasets](../../../assets/2c46e0d281e0d68866438cdb478baf19e80fed3a929513a6cdc7b46f674e8f6b.webp)

* Once the build has completed, the output dataset will contain the results of your new rule. In the future, these two datasets can be placed on a [schedule](../../data-lineage/manage-schedules/index.md) to keep the outputs up to date.