# Review rule suggestions

Amiril drafts a rule for an issue and tests it on your past runs. Read the evidence it shows, then dismiss the suggestion or create the rule as a draft.

Amiril uses an AI model to read a sample of the runs in an [issue](/monitor/issues) and draft a rule that would stop them. Amiril then tests the draft on past runs. It keeps the draft only if it catches some of the issue's runs and fires on at most one in a hundred of the agent's other runs.

A kept draft shows as a **rule suggestion**, with the evidence for it. You answer it with **Dismiss** or **Create rule**. If you do neither, it closes by itself once its issue is resolved or ignored.

You need the admin role to act on a rule suggestion. See [members and roles](/workspace/members).

Amiril also makes **access suggestions**, which propose taking a tool away from an agent that has not used it in 30 days. See [grant and revoke tools](/agents/access).

## Find a suggestion [#find-a-suggestion]

Open **Suggestions** in the sidebar. The number beside it is how many are open. A rule suggestion also shows in a **Suggestion** card on its issue's page.

## Read the evidence [#read-the-evidence]

Select a suggestion to open it. Its page leads with a headline and a short summary of why Amiril drafted the rule. Below that:

- **Agent** and **Issue** say what the suggestion is about. **See issue** opens the issue.
- **It would** is the rule's effect, **Block the call** or **Flag the call**.
- **On this issue** is what the rule would have done to the issue's runs, such as "Would have blocked 4 of 5 runs".
- The **Suggested rule** card shows the rule text.

## Create the rule [#create-the-rule]

Select **Create rule**. The rule editor opens, and you [save the draft](/rules/first-rule#save-the-draft) as you would any new rule.

Once you save, the suggestion closes and says a rule was created from it. The rule is an unpublished draft, so it acts on nothing yet. [Test it on past calls](/rules/test) to see what it would have caught, then [publish it](/rules/first-rule#publish-the-rule).

## Dismiss the suggestion [#dismiss-the-suggestion]

Select **Dismiss** and the suggestion leaves the list. For 10 seconds, **Undo** in the message that appears brings it back. It stays dismissed unless Amiril drafts a different rule for the issue, or the issue is resolved or ignored and then opens again.

## Next steps

- [Write your first rule](https://docs.amiril.ai/rules/first-rule.md): Start from a rule Amiril drafted for an issue, or from a blank rule. Save it, publish it in Shadow, then switch it to Enforce in one environment.
- [Triage issues](https://docs.amiril.ai/monitor/issues.md): An issue groups the runs that share one problem, with a severity and a state. Read what the runs share, then resolve or ignore it.
- [Test a rule on past calls](https://docs.amiril.ai/rules/test.md): Replay a rule over the tool calls your agents already made and see which ones it would have fired on, before it blocks anything.
- [How rules work](https://docs.amiril.ai/rules.md): A rule checks each tool call your agent makes and lets it run, flags it or blocks it. Rules run in your agent, and Shadow mode shows what one would do first.

## More detail

- [Rule settings, modes and publishing](https://docs.amiril.ai/assistant/rules/modes.md): Everything about a rule besides its text: mode, fail mode, if_missing, on_error, ids, versions, publishing, shadow records, backtests, permissions, and the MCP tools and routes for each.
- [Signals, issues, topics and suggestions](https://docs.amiril.ai/assistant/detection/signals.md): What Amiril says about a run and what each field means: checks, topics, rarity factors, outcome, issues, issue alerts, verdicts and suggestions, as the MCP tools and API return them.
