Business Rule Solutions

How to Write Business Rules: Practical Guide & Examples

Learn how to write business rules that people and AI read the same way, with a seven-step method, real examples, a rule template, and a decision table.

How to Write Business Rules: A Practical Guide with Examples

Every organization runs on business rules, whether or not anyone has written them down. They live in policy manuals, regulations, contracts, spreadsheets, and the memories of experienced staff. Problems appear when two people read the same policy and act on it differently. They also appear when a system or an AI assistant applies a policy in a way nobody intended.

This guide explains how to write business rules that every reader interprets the same way. You will learn what a well-formed rule contains and how to turn loose policy language into precise rule statements. You will also see when a decision table works better than a list of rules, and how to document rules so they stay accurate as the business changes.

One worked example runs through the whole guide. It starts as a vague three-sentence refund policy. It ends as a tested set of rules and a complete decision table.

The method draws on the business rules approach developed by Ronald G. Ross and Business Rule Solutions (BRS). That includes RuleSpeak®, the BRS guidelines for expressing rules in clear, structured English.

To write a business rule, start from the source policy, define the business terms it uses, and connect those terms with facts. Then write one declarative sentence per rule, using "must," "must not," or "may ... only if." Remove every ambiguous word, express exceptions as separate rules, and test the rules against realistic scenarios. Do all of this before anyone builds the rules into a process, a system, or an AI model.

What Is a Business Rule?

A business rule is a statement that guides or constrains business behavior. It is written in business vocabulary so that any qualified person applies it the same way. "A refund request for a customized item must not be granted" is a business rule. It names a business thing, sets a clear criterion, and needs no further interpretation.

The simplest test is whether a statement removes a degree of freedom. The Basic RuleSpeak Guidelines make this point directly. A sentence built on "can" usually states a fact, while a genuine rule restricts what may happen. "A customer can request a refund" describes a capability. "A customer may request a refund only if the purchase falls within the refund window" is a rule.

The Three Levels of Rule Statements

Much of the confusion about writing business rules comes from mixing three different kinds of statement. The RuleSpeak guidelines separate them clearly:

  1. Governing statements come from laws, regulations, contracts, and business policies. They set direction, but they usually need interpretation before anyone can apply them.

  2. Practicable statements interpret governing statements as precise, declarative sentences based on standard business vocabulary. A trained worker can apply them directly without asking what they mean.

  3. Implementation statements express the same logic in a form that a rules engine, programming language, or other platform can execute.

Writing business rules means producing the middle level. Policy writers work above it, and developers work below it. When teams skip the practicable level and jump from policy text straight to code, interpretation happens silently inside the implementation. Business people then have no readable version of the logic to review.

How Business Rules Differ from Policies, Procedures, and Requirements

These four terms are often used interchangeably, but each one does a different job:

  • A policy states intent, such as "We offer fair refunds to our customers." It needs interpretation.

  • A procedure describes a sequence of steps, such as "Scan the receipt, check the date, then issue the refund."

  • A requirement describes what a solution must do, such as "The point-of-sale system must display the refund decision."

  • A business rule states a criterion that holds no matter which process or system applies it.

The Business Rules Manifesto, published by the Business Rules Group, treats rules as distinct from processes and procedures. It holds that one cohesive body of rules should apply consistently across every relevant area of business activity. In practice, you write a refund rule once. You then reuse it at the store counter, in the online returns portal, and in the customer service chatbot.

The Two Kinds of Business Rules

Business rules fall into two fundamental kinds. Most of the other labels you will hear are variations of these two.

Behavioral rules govern conduct. People or systems can break them, so each one needs a planned response for when a violation occurs. Example: "An order must not be shipped to a customer whose account is on hold."

Definitional rules define, classify, or compute something. They cannot be broken in the same way. They can only be applied correctly or incorrectly. Example: "A customer is a preferred customer if the customer has placed at least the preferred-customer order threshold in the past 12 months."

This distinction is central to the BRS approach. It also reflects SBVR (Semantics of Business Vocabulary and Business Rules), the Object Management Group standard. According to BRS, RuleSpeak was one of three reference notations used in creating SBVR.

Common practitioner labels map onto these two kinds as follows:

  • Validation rules check whether data or a submission is acceptable, such as "A claim must specify a date of service." They are usually behavioral.

  • Eligibility rules establish whether a person or case qualifies. The classification itself is definitional: "An applicant is eligible for the hardship program if..." A behavioral rule then uses it: "A hardship payment may be made only to an eligible applicant."

  • Calculation rules compute a value, such as "The late fee for an invoice must be computed as the late-fee rate multiplied by the overdue balance." They are definitional, and the subject is always the value being computed.

  • Business constraints prohibit or limit something, such as "A purchase order must not be approved by the employee who created the purchase order." They are behavioral.

  • Decision rules, often written as IF-THEN rules, conclude an outcome from a set of conditions. They usually appear as rows in a decision table.

Knowing the kind tells you what to write next. A behavioral rule needs a documented violation response, such as reject, warn, or refer for review. A definitional rule needs a precise definition of every term it uses. An error there flows into every rule that relies on it.

The Anatomy of a Well-Written Business Rule

A well-written rule has a predictable structure. Take this example:

"A refund request that is not timely may be granted only if a store manager approves the refund request."

  • Subject: "a refund request that is not timely." The subject is a business term written in the singular, so the rule clearly applies to each refund request.

  • Rule keyword: "may ... only if." RuleSpeak builds rules around a small set of keywords, mainly "must," "must not," and "only."

  • Fact: "store manager approves refund request." Facts are the verb phrases that connect business terms to each other.

  • Rule condition: "only if a store manager approves." Conditions come at the end of the sentence, which keeps the subject in front, where readers expect it.

  • Derived term: "timely." This word is defined by its own rule, so the logic behind it lives in one place.

A rule with this structure can be read out of context and still mean exactly one thing. That property makes it reusable across people, processes, and systems.

How to Write Business Rules in Seven Steps

The seven steps below follow one example from start to finish. Here is the source policy. It is illustrative and deliberately imperfect:

Customers can normally get a refund within 30 days. Custom orders are excluded. Store managers can make exceptions for loyal customers.

The policy reads clearly enough. Yet it leaves at least six questions unanswered, and each one could produce inconsistent decisions.

Step 1: Capture the Source and Name the Decision

Record the governing statement exactly as written, along with its source. Include the document name, section, version, and date. Then name the operational decision the policy supports. Here, the decision is determine the refund outcome for a refund request.

Naming the decision keeps the work focused. Every rule you write should either contribute to that decision or constrain how it is carried out.

Step 2: Define the Business Terms

List every noun that matters and write a definition for each one. In this policy, the candidates are customer, refund, refund request, purchased item, custom order, loyal customer, and store manager.

Defining terms exposes problems immediately. Is a "custom order" limited to engraved items, or does it include items cut to size? Does "loyal customer" mean a member of the loyalty program, or anyone who has shopped at the store for five years? Different staff will give different answers. So will an AI model reading the policy.

For the example, the business agrees on these definitions:

  • Customized item: an item altered to a customer's specification before sale, including engraving, printing, or cutting to size.

  • Loyalty program member: a customer enrolled in the store's loyalty program on the date the refund request is submitted.

The vague phrase "loyal customer" has now been replaced by a term the store can verify.

Step 3: Connect the Terms with Facts

Facts state how terms relate to each other. They give rules a stable foundation. For the example, the facts are:

  • customer submits refund request

  • refund request concerns purchased item

  • purchased item has purchase date

  • store manager approves refund request

The Business Rules Manifesto summarizes this building-block idea: rules build on facts, and facts build on concepts expressed by terms. If a rule uses a verb that does not appear in your facts, treat that as a warning sign. A relationship has probably not been defined yet.

Step 4: Draft One Rule per Statement

Write each rule as one declarative sentence with a clear subject and a rule keyword. Keep one idea per rule. For the refund policy, the first draft looks like this:

  • R1 (definitional): A refund request is timely if it is submitted no later than the refund window after the purchase date of the purchased item it concerns.

  • R2 (definitional): The refund window must be 30 calendar days.

  • R3 (behavioral): A refund request for a customized item must not be granted.

  • R4 (behavioral): A refund request that is not timely may be granted only if a store manager approves the refund request.

  • R5 (behavioral): A store manager may approve a refund request that is not timely only if the customer who submits the refund request is a loyalty program member.

Notice two design choices. First, the number 30 lives in its own rule (R2), so a future change touches one statement. Second, the term "timely" is defined once in R1 and reused in R4 and R5. The RuleSpeak guidelines recommend both practices. Embedded numbers and repeated conditions tend to drift out of sync as a rule set grows.

Step 5: Remove Every Source of Ambiguity

Read each rule and ask how a new employee, an auditor, or an AI model could misread it. Then fix the wording or take the question to a subject matter expert (SME). The refund example produces these SME questions:

  1. Does the refund window count calendar days or business days?

  2. Does the window start on the purchase date or the delivery date for online orders?

  3. What did "normally" mean in the original policy? Are there other unstated exceptions?

  4. May a store manager override the customized-item exclusion for a loyalty program member?

  5. How should a request be handled when only some items in an order are customized?

  6. Does a customer who joins the loyalty program after the purchase qualify?

Each answer either confirms a rule or adds a new one. Writing the questions down also creates a record of why the rules say what they say. That record is valuable when an auditor or a new analyst asks the same question a year later.

Step 6: Express Exceptions as Their Own Rules

Treat the normal case as the default and write each exception as a separate, explicit rule. The Business Rules Manifesto states this principle plainly: exceptions to rules are expressed by other rules.

Avoid escape clauses such as "unless otherwise approved" or "at management's discretion." They hide the real exception criteria inside someone's judgment. In the example, the vague exception for "loyal customers" became R4 and R5. Together, they state exactly who may approve a late request and under which condition.

Suppose the SMEs answer question 4 with "no override for customized items." R3 already covers that answer. R4 and R5 only restrict late requests. They never permit anything that R3 prohibits. If the answer had been "yes," you would add a new rule and then review R3 to confirm the two rules no longer conflict.

Step 7: Test the Rules Against Scenarios

Before anyone automates a rule, walk realistic cases through it. Include ordinary cases, boundary cases, and awkward combinations:

  • A standard item returned on day 12 by any customer is timely and not customized. Nothing prohibits the refund.

  • A standard item returned on day 30 is still timely under R1, because "no later than" includes day 30. Confirm that this is the intended boundary.

  • A standard item returned on day 31 by a loyalty program member is not timely. It may be granted only with store manager approval.

  • A standard item returned on day 31 by a non-member is not timely, and no store manager may approve it. It must not be granted.

  • An engraved item returned on day 3 is customized. It must not be granted, regardless of timing or membership.

Testing exposes one more gap. Nothing in R1 to R5 says that a timely request for a standard item must be granted. The rules only say when a refund must not be granted or when it needs approval. If customers are entitled to a refund, the business needs a rule that says so:

  • R6 (behavioral): A timely refund request for an item that is not customized must be granted.

This gap is common. Rule sets built only from prohibitions often leave the positive obligation unstated. Scenario testing is where hidden gaps like this surface. Finding them in a review meeting costs far less than finding them in a production system or a customer complaint.

When to Use a Decision Table

Use a decision table when several rule conditions combine to produce one outcome. A decision table lays out every combination of conditions and the conclusion for each. That makes gaps and overlaps visible at a glance. The same decision logic written as a paragraph of IF-THEN statements tends to hide them.

The refund example has three yes-or-no conditions, which produce eight possible combinations. A complete decision table must account for all eight. The Decision Model and Notation (DMN) standard, published by the Object Management Group, defines a common notation for decision tables that many modeling and rules tools support.

Decision Table Example: Refund Outcome

Decision: Determine the refund outcome for a refund request

Hit policy: Unique (exactly one row applies to any request)

Conditions: Is the item customized? Is the request timely? Is the customer a loyalty program member?

RowItem CustomizedRequest TimelyLoyalty MemberOutcome
1YesAnyAnyDecline
2NoYesAnyGrant
3NoNoYesRefer to store manager
4NoNoNoDecline

Here is the completeness check. Row 1 covers four combinations, Row 2 covers two, and Rows 3 and 4 cover one each. That totals eight, so the table is complete. No combination matches more than one row, so the table also satisfies the Unique hit policy. In a modeling tool, these rows would appear as a grid with one column per condition.

Choosing a Hit Policy

A hit policy tells readers and software what happens when more than one row matches. DMN defines several:

  • Unique: Rows cannot overlap, so only one row can match. Camunda's DMN documentation notes that Unique applies by default when no hit policy is set.

  • Any: Rows may overlap, but every matching row must produce the same result.

  • Priority: Rows may overlap with different results, and the result with the highest priority wins.

  • First: The first matching row, reading from top to bottom, wins.

  • Collect, Rule order, and Output order: These return several matching results, for example to combine discounts.

For tables that business people must review, Unique is usually the safest choice. Under First, the meaning of each row depends on every row above it. A reviewer who reads one row in isolation can easily reach the wrong conclusion. Multiple-result policies suit cases where outcomes legitimately stack. Red Hat's DMN documentation illustrates this with a customer who qualifies for both a student discount and a military discount.

A decision table does not replace written rules. The definitions of "customized item," "timely," and "loyalty program member" still need their own rule statements, because the table depends on them.

IF-THEN Rules: When They Help and When They Hurt

IF-THEN rules work well as rows of decision logic and as implementation statements inside a rules engine. They are less effective as the main way to communicate rules to business people.

RuleSpeak recommends starting each rule with its subject and placing any condition at the end. Compare these two versions:

  • IF the employee is on probation THEN the employee must not be assigned a company vehicle.

  • An employee on probation must not be assigned a company vehicle.

The second version is shorter and reads like everyday business language. It also avoids an implied "else," which readers fill in differently. Does an employee who is not on probation automatically get a vehicle? The IF-THEN form invites that assumption. The subject-first form makes no claim about it.

Long chains of AND and OR cause the other common problem. When a rule has several conditions, list them and state how many must hold:

A loan application must be referred for manual review if at least one of the following is true:

  • The requested amount exceeds the automatic approval limit.
  • The applicant's identity has not been verified.
  • The collateral valuation is older than the valuation validity period.

This format, recommended in the RuleSpeak guidelines, removes doubt about whether "or" means one condition, exactly one, or any number. It also turns adding a fourth condition into a one-line change. Notice that "automatic approval limit" and "valuation validity period" are named thresholds, each defined by its own rule.

Business Rules Examples by Type

The business rule examples below are illustrative. Each one pairs a common weak version with a stronger rewrite.

Validation Rule (Healthcare Claims)

  • Weak: "Claims need a diagnosis code."

  • Stronger: "A claim must specify a diagnosis code."

  • Why it is better: The singular subject and the rule keyword make the rule apply to every claim without doubt.

Eligibility Rule (Public-Sector Benefits)

  • Weak: "Only residents can apply."

  • Stronger: "An applicant is eligible for the housing grant only if the applicant has resided in the county for at least the minimum residency period."

  • Why it is better: "Resident" becomes a testable condition, and the threshold lives in a separate rule.

Calculation Rule (Finance)

  • Weak: "Add interest when payments are late."

  • Stronger: "The late interest for an invoice must be computed as the overdue balance multiplied by the daily late-interest rate multiplied by the number of days overdue."

  • Why it is better: The subject is the value being computed, and every input is named.

Business Constraint (Procurement)

  • Weak: "Managers shouldn't approve their own purchases."

  • Stronger: "A purchase order must not be approved by the employee who created the purchase order."

  • Why it is better: It covers every employee, including managers, and it uses a rule keyword in place of "shouldn't."

Authorization Rule (Banking)

  • Weak: "Customers can withdraw money if the account is active."

  • Stronger: "A withdrawal from an account may be made only if the account is active."

  • Why it is better: The original subject, "customers," silently excludes authorized third parties. The RuleSpeak guidelines caution against actor subjects for this reason. The rewrite makes the withdrawal itself the subject.

Timing Rule (Education)

  • Weak: "When students register, they must pick two courses."

  • Stronger: "A registered student must be enrolled in at least the minimum course load by the close of registration."

  • Why it is better: "When" ties the original rule to a single event, so a student could drop courses the next day. The rewrite holds for the whole registration period.

How to Document Business Rules

Document business rules in a central rulebook that business people can read. Keep it separate from the code or configuration that implements the rules. Each rule should trace back to its source and forward to the processes and systems that apply it.

Good business rules documentation separates the rule statement from how the rule is enforced. The RuleSpeak guidelines recommend keeping the who, when, where, how, and why of enforcement outside the rule itself. The Business Rules Manifesto makes the same point. The rule states only what must be true. Enforcement notes record details such as "the point-of-sale system checks this at the refund step" or "a supervisor reviews exceptions weekly." This separation lets the same rule serve many channels without rewriting.

A Business Rule Template

Use a consistent set of fields for every rule. Here is a practical business rule template, filled in with R4 from the refund example:

  • Rule ID: REF-004

  • Rule statement: A refund request that is not timely may be granted only if a store manager approves the refund request.

  • Rule type: Behavioral

  • Source: Customer Refund Policy, section 2, version 3, with the governing statement quoted verbatim

  • Terms used: refund request, timely, store manager

  • Related rules: REF-001 (defines "timely") and REF-005 (limits approval to loyalty program members)

  • Rationale: Allows goodwill exceptions while recording who approved each one

  • Violation response: Block the refund and notify the store manager

  • Enforcement notes: Checked by the point-of-sale system at the refund step

  • Owner: Head of Retail Operations

  • Status and dates: Approved, with an effective date and a scheduled review date

  • Open questions: None

Keep the template light enough that people actually complete it. The rule statement, source, terms used, and owner are the essential fields. The remaining fields can grow as the rulebook matures.

Keep the Rulebook Healthy

These business rules best practices keep documentation useful long after the first draft:

  • Store each threshold, rate, and limit once, as its own rule, and reference it by name.

  • Record the SME answers that shaped each rule.

  • Version rules instead of overwriting them, so past decisions remain explainable.

  • Review the affected rules whenever a governing source changes, such as a new regulation or contract.

  • Check each new rule against existing rules for conflicts and redundancy before approval.

Common Mistakes When Writing Business Rules

Most weak rules fail in predictable ways. Here are the mistakes that appear most often, with a fix for each:

  • Writing procedures instead of rules. "Check the date, then check the item, then issue the refund" is a procedure. Extract the criteria as declarative rules, and let the procedure reference them.

  • Using "can" or "should" loosely. "Can" states a capability. Use "must," "must not," or "may ... only if" when you mean a rule.

  • Plural subjects. "Contractors must complete safety training" leaves room to argue about whether it applies to each contractor. Write "A contractor must complete safety training."

  • Actor subjects that are too narrow. "A customer may withdraw funds only if..." silently excludes authorized third parties. Choose the business thing the rule is really about, such as the withdrawal.

  • Tying rules to system events. Words like "create," "update," and "delete," or an unintended "when," limit a rule to one moment. Most rules should hold at all times.

  • Embedding numbers and calculations. A threshold written into ten rules will eventually be updated in only nine. Name it once and reference the name.

  • Vague qualifiers. Words such as "normally," "reasonable," "promptly," and "etc." signal missing criteria or a missing business term.

  • Mixing enforcement into the rule. "The system must reject..." describes implementation. State the rule, then document enforcement separately.

  • Skipping definitions. If two departments define "active customer" differently, every rule that uses the term will be applied inconsistently.

  • Stating only prohibitions. As the refund example showed, a rule set can prohibit and restrict without ever stating what the business must do. Check whether each entitlement or obligation has its own rule.

Why Clear Business Rules Matter More in the AI Era

AI models work with language. When a policy says "normally," "loyal," or "excluded," a model has to guess what those words mean in your business. It may guess differently from one request to the next. Clear, practicable rules reduce that guessing, because people and AI apply the same precise statement.

This is the perspective BRS brings to AI readiness. Connecting AI to documents gives it access to information. Trustworthy answers also depend on business knowledge that is clearly defined, consistently organized, and shared. You can read more about this view in the BRS perspective on what trustworthy AI depends on.

The same well-written rule serves three audiences. Staff apply it in daily work. Developers implement it in systems. AI assistants use it to answer questions and explain decisions. Rules written at the practicable level make all three more consistent.

How RonBot Helps You Write Business Rules

Writing rules well is a skill that improves with practice and feedback. The RonBot Learning Experience pairs RonBot, an AI learning coach, with the BRS Professional Training Suite. BRS describes the approach as built on more than thirty years of experience with business rules, decisions, and business vocabulary.

Working from your own policies, procedures, and regulations, RonBot can create first drafts of structured business knowledge and coach you while you refine them. According to BRS, RonBot helps participants:

  • extract business knowledge from policies, procedures, and regulations

  • discover business rules and express them in structured language

  • identify inconsistency, redundancy, and incompleteness

  • craft questions for SMEs to capture expert knowledge

  • address exceptions and resolve conflicts

Those tasks match Steps 1 through 7 of this guide. The self-directed curriculum covers the same techniques in more depth. Module 3, Rules & Policies, covers expressing rules, capturing rules, rule analysis, and pattern questions for capturing rules. Module 4 covers operational business decisions, decision analysis, and decision tables.

If your team is turning policy documents into rules, or preparing business knowledge for AI, you can see how the RonBot Learning Experience coaches rule writing or compare RonBot training plans. For more guides on business rules, business vocabulary, and decision analysis, visit the BRS Training blog.

Frequently Asked Questions

How Do You Define Business Rules for a New Project?

Start with the business decisions the project supports. Collect the governing sources for each decision, such as policies, regulations, and contracts. Define the business terms, connect them with facts, and then write practicable rules. Validate the rules with SMEs and test them against scenarios before writing system requirements.

What Is the Difference Between a Business Rule and a Business Requirement?

A business rule states a criterion the business follows regardless of any system. A requirement states what a particular solution must do. One rule, such as a refund rule, can give rise to several requirements across a point-of-sale system, a website, and a chatbot.

How Do You Create Business Rules from Existing Documents?

Read the document for statements that restrict, define, or compute something. Record each one as a governing statement with its source. Then interpret each into one or more practicable rules, and flag vague words for SME review. Watch for rules buried inside procedures, which often appear as "check that..." steps.

Should Business Rules Be Written in IF-THEN Format?

Use the IF-THEN format for decision table rows and for rules engine syntax. For rules that business people will read and approve, subject-first sentences are usually clearer. "An order must not be shipped if..." puts the business subject first and avoids an implied "else."

How Should You Handle Rule Exceptions?

Write the default rule, then write each exception as a separate, explicit rule. Avoid escape phrases such as "unless otherwise approved." Explicit exception rules show who can make an exception, under which conditions, and how the exception interacts with other rules.

How Many Conditions Should One Business Rule Have?

Keep each rule to one idea. When a rule needs more than two or three conditions, list them under "all of the following" or "at least one of the following." When several rules share the same conditions and lead to different outcomes, move them into a decision table.

What Tools Are Used to Document Business Rules?

Many teams start with a structured document or spreadsheet that uses a consistent template. Larger programs often use rule management platforms or DMN-compatible decision modeling tools. Whatever the tool, every rule needs an ID, a precise statement, a source, defined terms, and an owner.

RonBot is the AI learning companion from Business Rule Solutions, built on the work of Ronald G. Ross and Gladys S.W. Lam.