List rules
list_rulesList the decision rules for one domain (or all domains).
Returns each rule's conditions — either a flat AND list (field / operator /
value) or a when condition tree (nested all/any/not) — plus its verdict,
salience, and any asserted facts (action.assert, the facts a rule
produces for other rules to consume). edges lists the derived rule→rule
dependencies: src asserts a fact type that dst's conditions test (forward
chaining). Each rule may also carry citation — the policy sentence it
encodes — which is what lets a decision be traced back to the source
clause. Also includes overlap warnings. Use this to learn which fact
fields a domain expects before calling decide.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |