---
title: Guides
order: 4
icon: phosphor-duotone:book-open-text
summary: Everything you need to write, run, and audit rules with RuleBox.
toc: false
---

# Guides

- [Defining RuleBooks](defining-rulebooks.md) - `RuleBook`, `defineRules()`, the HelloWorld example
- [The RuleBook DSL](the-dsl.md) - `given`/`when`/`except`/`then`/`using`/`stop`
- [Facts & Results](facts-and-results.md) - working with facts and the `Result` object
- [The Builder](the-builder.md) - à la carte rules and rule books
- [Auditing Rules](auditing.md) - `RuleStatusMap` and rule states
- [Thread Safety](thread-safety.md) - why RuleBooks and Rules are transient
- [Error Handling](error-handling.md) - exceptions and failure states
- [A Complex Example](complex-example.md) - a full, real-world walkthrough
