Appearance
Rule Dialog
The Rule Dialog opens when you create, edit, clone, or inspect a business rule from the Term Sidebar Rules tab or click a flagged rule in Model Checks: Entity constraint issues.
New to business rules? Start with the short guide Write Better Business Rules.
The dialog opens in one of two modes depending on the rule:
- Create / Edit Custom Rule: Write or update a rule attached directly to a concept (for example, a threshold, prohibition, or permission).
- Inspect Relational Rule: View a rule generated automatically from a canvas relation, jump to its connected concepts, and adjust its cardinality or implementation layer.
1. Create / Edit Custom Rule Mode

Core Fields
- Rule Code / ID: Unique identifier across your model. When creating a rule, Termboard suggests the next unused code for the concept (e.g.,
BR-ORD-01,BR-ORD-02). Duplicate IDs are blocked on save. - Modality: Sets how strict the rule is:
MUST (Required / Forbidden): Something that is always required or forbidden (MUST,MUST NOT).PERMISSION (Allowed if...): Something that is allowed only under a condition (MAY ... only if).CUSTOM (Custom wording): Special wording that skips standardMUST/MAYchecks.NONE (Note / Fact): Informational note or general fact.
- Rule Statement: The rule itself, written as a clear sentence mentioning the concept (for example, "The Order Total of an Order MUST be greater than 0.").
- More details (Name, Layer, Notes) (optional, collapsible): Click More details (Name, Layer, Notes) to expand optional fields (or click Hide optional details to collapse them; opens automatically when editing or cloning a rule that already has these fields):
- Rule Name / Summary (optional): Short 2–5 word title shown on rule cards, reports, and specification tables.
- Implementation Layer (optional): Where the rule is enforced. Shows layers already used or defined in your model (falling back to
Frontend,Backend,Database, andBusiness / Policyfor new models), or type any custom layer. - Why / Implementation Notes (optional): Explains why the rule exists or how technical teams should enforce it, keeping technical details out of the business statement.
- Actions: Click Create Rule (when adding) or Save Changes (when editing) to save, Cancel to discard, or Delete Rule (in Edit mode) to remove the rule.

Rule Helpers & Authoring Tools
Above and below Rule Statement, Termboard offers built-in and AI helpers:
- Templates: Inserts one of six starter patterns (
Required (MUST),Forbidden (MUST NOT),If ... then MUST,Must be unique,Allowed only if (MAY),Min / Max value) pre-filled with the concept name and matching Modality. If you already typed text, Termboard asks (Replace / Cancel) before overwriting. - Syntax Guide: Opens quick phrasing tips (start with the concept name, use
MAY ... only iffor permissions, keep one rule per sentence, and place technical details in Implementation Layer or Why / Implementation Notes). - Insert model vocabulary at cursor: Click any chip under Attributes (teal, including inherited attributes), Related (indigo concepts), or Values (amber
Allowed Valuesand dropdown options) to insert the exact name at your cursor. Larger lists show a search filter and a Show all vocabulary chips toggle. - Draft / Improve with AI: Turns rough notes (or refines an existing draft) into a structured rule—filling in Modality, Rule Name / Summary, Rule Statement, Why / Implementation Notes, and Implementation Layer for you to review before saving. Existing Rule IDs are preserved in Edit mode.
- Uses your configured Cloud AI or Local Browser AI provider.
- If no AI provider is set up, copies a ready-to-paste prompt (with your concept's attributes and relations) to your clipboard.
Live Rule Validation
As you type, the Rule Validation banner checks your rule in real time:
- Warnings: Missing or duplicate Rule ID, statement shorter than 5 characters, or a mismatch between Modality and wording (for example, choosing
MUSTwhile writing may). - Informational Hints: Statement does not mention the concept name, combines multiple rules in one sentence, uses vague words (such as timely or appropriate), or includes technical terms (such as SQL or API) in the business statement. When more than three hints appear, extra hints collapse behind +N more hint(s).
See Write Better Business Rules for good/bad examples and how to mute individual hints in Model Checks.
2. Inspect Relational Rule Mode
Clicking a relation-based rule in the Rules tab opens the dialog in Inspect mode:
- Header Chips & Quick Actions: Shows the auto-generated Rule ID (click to copy), Modality badge,
passivebadge (when reading the incoming/reverse direction of a relation), implementation layer, and inherited badge (from <Parent>). Use Copy Statement or Developer Handoff for quick sharing. - Edit Canvas Constraints: Change Target Cardinality (how many linked items are required or allowed:
0..*,1,1..*,0..1) or Implementation Layer right here; the rule sentence and canvas arrow update immediately. - Rule Derivation & Origin: Shows a clickable Subject → Verb → Object flow. Click a concept pill to center on it on the canvas, or click the relation pill to select the arrow and open its Relation Sidebar.