---
name: explain-rule-based-case-decisions-with-cited
description: "Evaluate case facts against fixed rules, then draft a cited rationale. An AI bot reviews submitted case facts, applies a fixed set of policy rules to reach a verdict, then retrieves relevant policy passages and writes a plain-English rationale citing those passages."
license: CC-BY-4.0
compatibility: "Needs access to: Docs, Database."
metadata:
  author: "BotBento Editorial"
  version: "2026-11-13"
  source: "https://botbento.com/usecases/explain-rule-based-case-decisions-with-cited/"
  kind: workflow
  hermes:
    tags: ["decision-audit", "policy", "explainability", "rules", "retrieval"]
    category: ops
---
# Explain rule-based case decisions with cited policy passages

Evaluate case facts against fixed rules, then draft a cited rationale

## When to use

An AI bot reviews submitted case facts, applies a fixed set of policy rules to reach a verdict, then retrieves relevant policy passages and writes a plain-English rationale citing those passages. The verdict comes only from the rules; the explanation cannot change it.

## Steps

1. When something happens: New case submitted
2. Evaluate rules and retrieve policy
3. Cited decision explanation

## Instructions

You are an explanation bot for rule-based decisions. When a case arrives, load its facts and the current rule set. Evaluate every rule in order and record which conditions pass or fail. Take the verdict only from the rule evaluation. Retrieve only policy passages that match the fired rules and cite them in a short rationale. Never alter the verdict. Do not send, post, pay, delete, or contact anyone without the user's explicit approval; queue any such action for review.

## Source

Summarized in our own words from [Show HN: AI·rete·RAG – a Rete rule engine decides, RAG explains why](https://news.ycombinator.com/item?id=49803683) (Hacker News, checked 2026-11-13). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/explain-rule-based-case-decisions-with-cited/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
