# Rules

**Introduction**

Rules can be created based on repository metadata. For example, this is a rule that applies when the value of the contract is greater than $10,000:

&#x20;

![](https://support.aerofiler.com/hc/article_attachments/360089149714/mceclip0.png)

Here is a more complex rule that applies when the contract is greater than $10,000 and the Region is "Rest of the World":

&#x20;

![](https://support.aerofiler.com/hc/article_attachments/360091300113/mceclip1.png)

**Application**

Rules are used in approval workflows in two contexts:

1. A rule can determine whether a particular document should be reviewed at a particular step. For example, you may have a rule that Finance only reviews contracts above a certain dollar threshold.
2. A rule can determine whether a particular field should be displayed. For example, if sales tax only applies in a particular region, you can configure Aerofiler to only display the sales tax field if the region matches.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://adminguidesgitbook.aerofiler.com.au/approvals/rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
