# Campaign rules and brand approval

Set the copy, colourways, masters, locked elements and floors a campaign's outputs are checked against, then send the rules for approval.

A campaign's **Rules** page holds what its outputs are allowed to be. Mestra checks every output against it, holds the ones that fail, and lets a brand approve the rules before they are used. Dynamic variants need approved rules. See [Dynamic variants](https://withmestra.com/docs/how-to/dynamic-variants/).

> **Before you start:**
>
> - Editors and owners can change rules and send them for approval. Reviewers can read them.
> - Rules use masters that are **Ready**. See [Masters in the web app](https://withmestra.com/docs/how-to/masters/).

## Open the rules

In the web app, open **Setup** > **Campaigns**, choose the campaign, then open **Rule set** under **More for this campaign**. The page is called **Rules**. It shows the version at the top, with a tag: **Draft**, **Waiting for approval**, **Approved**, **Superseded** or **Withdrawn**.

## What a rule set holds

- **Mode.** **Rules only**, or **Rules and review**. With **Rules only**, the checks against these rules judge each output, and a failing output is held. With **Rules and review**, a person also reviews outputs. See [Review and approve](https://withmestra.com/docs/how-to/review-and-approve/).
- **Copy.** The text each role may carry: **Headline**, **Subhead**, **Body**, **CTA** and **Legal**. Add each allowed line with **Add headline** and the like, and use the arrows to put them in order. **Legal** takes one line.
- **Masters.** The master versions the rules apply to, under **Master versions**. Only **Ready** masters are listed. The first you choose is the one previews are made from.
- **Colourways.** Named sets of colours. Select **Add colourway**, name it, and enter its colours as `#RRGGBB`, separated by commas. Swatches show as you type.
- **Locked elements.** Elements that may only be scaled within a range. Select **Lock element**, choose the **Element** from the chosen masters, and set its **Smallest scale** and **Largest scale**. If you leave a limit empty, Mestra uses its default.
- **Floors.** The lowest quality allowed: **Logo minimum width**, **Logo clear space**, **Smallest legal type**, **Contrast** and **Contrast, large type**. Leave one empty to use the default.

Select **Save**. Every save makes a new version. The bar says "Unsaved changes" until you do, then "Saved as version N."

## Versions

**Versions** lists every version with its tag, its date, and, once files made under it have played, how often. Select **Use version N** to load an older version into the form. Saving it makes a new version.

Each version is approved for each brand separately. A version lists the campaign's brands, each as **Approved**, **Waiting for approval** or **Not approved**.

If the brand's logos or fonts change after approval, the page says "Logos or fonts changed since approval." Select **Save as new version** to approve the rules again.

## Send the rules for approval

1. Save your changes. The buttons are off while there are unsaved changes.
2. Select **Make previews**. Mestra makes the outputs the rules allow, as options. Each shows **Making**, **Ready** or **Failed**. Select **Open run** to look at a ready one.
3. If the campaign has more than one brand, choose the **Centre** to approve for.
4. Read **Before you approve**, if it is there. It lists what to know.
5. Select **Send for approval**. This opens a review for the brand. Approving it approves every value on the page.

While it waits, the page says "Waiting for approval" with **Open the review**. Select **Withdraw** to close the review. Save the rules as a new version to send them again.

A review round for rules shows the rules in a **Rules** card, with **Open rules**, so nobody approves values they weren't shown.

## What holds an output

An output that fails a floor, uses a locked element outside its range, or breaks another rule is **held**. It goes to the **Held** page. See [Held outputs](https://withmestra.com/docs/how-to/held-outputs/).

## What's next

- [Held outputs](https://withmestra.com/docs/how-to/held-outputs/)
- [Dynamic variants](https://withmestra.com/docs/how-to/dynamic-variants/)
- [Campaigns](https://withmestra.com/docs/concepts/campaigns/)
