Getting Started

Install RuleBox and see what it registers in WireBox.

On this page

Getting Started

Requirements

  • BoxLang 1.14+

Installation

Leverage CommandBox to install RuleBox as a module in your ColdBox application:

box install rulebox

What gets registered

Once installed, the module registers the following objects in WireBox:

WireBox IDTypeDescription
Rule@ruleboxTransientA single rule
RuleBook@ruleboxTransientA rule book that groups and chains rules
Builder@ruleboxSingletonBuilds à la carte rules and rule books
Result@ruleboxTransientModels the result produced by a rule chain

RuleBook and Rule are transient objects - they carry state (facts, results, audit trail) across a run(), so a fresh instance is requested every time via getInstance(). See Thread Safety for why that matters.

Next steps

Edit this page Download Markdown Last updated Sep 17, 2026, 7:29:54 PM