> For the complete documentation index, see [llms.txt](https://docs.gomboc.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gomboc.ai/orl/concepts/rule-space.md).

# Rule-space

All [rules and rulesets](/orl/concepts/rules.md) are loaded into a single rule-space which is then executed one rule at a time against the entire [workspace](/orl/concepts/workspace.md). The following rules apply.

1. All `Rule` and `Ruleset` objects need to have a unique name
2. `Ruleset`s are expanded to `Rule` by appending `_NNN` where `N` is the index of the rule in the ruleset (i.e., "\_000", "\_001", etc...)
3. All rules are executed in priority order (lowest first)
4. Rules that share the same priority are executed in alphabetical order by name
5. All Gomboc published rules have a priority between 1M and 10M
