# Rules

### What is the difference between order and priority?

The **order** is a visual element that displays the order of the rule in the list. The order does not affect the score.

The **priority** is the weight of the rule, it goes from 1 to 10. The more priority number selected, the more priority the rule has. It does affect the rule score.

For more information, refer to [this documentation](https://docs.suggestic.com/console/accessing-the-console/access-the-main-menu/manage-rules#rule-components).

### Do I need to create a group in which I add all variety of food I want to restrict and then add this to a rule?

Yes, you need to create a [new rule](/console/accessing-the-console/advanced-options/manage-rules.md#ingredient-group) and then create a new[ ingredient group](/console/accessing-the-console/access-the-main-menu/ingredient-groups.md#my-groups).

### What is the maximum value for priority in a rule?

The maximum value to define a rule priority is 10.  If you add more than 10 it will be the same as using 10.


---

# 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://docs.suggestic.com/console/helpful-resources/faq/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.
