LIVE · Thursday 3 December

Decision Models vs Rules Engines: Which to Use for DMN Logic, Rule Execution and Learned Scoring

Use rules for policy, DMN where people must read the logic, and a learned scorer only where rules leave several valid options. A routing example shows the costs.

By Nick8 min read

Use a rule engine for explicit policy, use DMN when business owners must read and approve the decision logic, and add a learned decision model only where the rules leave several valid options. DMN decision models and rules engines are not substitutes: Drools executes DMN models alongside its own rules. A learned scorer such as Parsec's TOD ranks options that the rules allow, and it should never hold policy authority.

Two kinds of decision model and a rule engine solve different problems

Buyers meet the term in two senses, and a rule engine is a third tool next to both of them.

A DMN decision model follows Decision Model and Notation, the standard from the Object Management Group (OMG). OMG describes DMN as "a modeling language and notation for the precise specification of business decisions and business rules." Version 1.5 became a formal specification in August 2024. A DMN model connects decisions to their input data, to reusable logic and to knowledge sources such as policies or committees. Each decision holds its logic in a decision table or in an expression written in FEEL, the language that DMN defines.

A production rule engine executes rules against data. Drools' documentation says that its engine "stores, processes, and evaluates data to execute the business rules or decision models." Facts sit in working memory. Rules whose conditions match those facts are placed on the agenda, and their actions run after fireAllRules() is called. When an action changes a fact, the engine evaluates the agenda again, so one rule can trigger another.

A learned decision model is trained on examples and outputs scores. Parsec's TOD takes a request's state, a question and a list of options. It returns one probability for each option, and the probabilities sum to 1. It does not generate text or invent options, according to Parsec's TOD page.

The options differ mainly in who holds policy authority

The comparison below sets out the four common designs.

Design Fits when Policy authority sits in Main work for the team
Rules only Policy is stable and explicit Rules Writing rules and regression tests
DMN plus an execution engine Business owners must review the logic DMN model Modeling, version checks, tests
Learned scoring alone No hard policy limits the choice Nowhere, which is the risk Held-out evaluation and thresholds
Rules, then a learned scorer Rules leave several valid options Rules All of the above, plus execution records

Learned scoring alone is rarely the right choice for a regulated decision. A model that picks from every possible option can pick one that policy forbids, and its score does not show whether the choice is allowed.

Rules alone fit a stable policy with one correct answer per case

If every case has one correct outcome that a written policy defines, a learned model adds cost and an evaluation burden without adding authority. A decision table or a set of rules is easier to test, and each outcome can be traced to the rule that produced it.

A rule engine adds value when rules interact. In Drools, a rule's action can insert a new fact that other rules then match. Facts that were inserted logically are retracted automatically when the conditions that justified them stop being true. Salience values, agenda groups and activation groups control which rules run first, or whether only one rule may run. These are Drools behaviours, and another engine may order rules differently.

DMN plus an execution engine fits logic that business owners must read and sign off

DMN suits decisions that need review by people who do not write code, such as eligibility, pricing or routing rules. OMG says that DMN "is easily readable by the different types of people involved in decision management."

A DMN model can also run. Drools' documentation says that its DMN engine "provides runtime support for DMN 1.1, 1.2, 1.3, and 1.4 models at conformance level 3." DMN 1.5 is not on that list, so a buyer should confirm the supported version before using newer features. Level 3 means that the tool supports full FEEL, the full set of boxed expressions, and executable models. A level 1 tool can draw diagrams and decision tables, but its models are not executable.

The hit policy decides what happens when several rows in a decision table match, so a team should choose it deliberately:

  • Choose UNIQUE when overlaps would be a policy mistake, because any overlap raises an error.
  • Choose FIRST when rows are ordered by priority, because the first match in rule order wins.
  • Choose COLLECT when the decision is a list, such as every team that may take a request, because it gathers the outputs of all matching rows.

A learned scorer fits when the rules leave several options and the choice depends on free text

Some decisions remain open after the policy is applied. A support request may be eligible for both Billing and Technical Support, and only the wording shows which team fits better. A learned scorer helps here, but only among the options that the rules allow.

TOD's published release has specific prerequisites. The model card lists LoRA adapters on google/gemma-4-12B-it, plus a ModernBERT-base retriever. The base weights are not included, and users must accept the Gemma 4 licence. The repository documents the call as predict(state, options, question, images). It warns against bitsandbytes int8 quantisation and says to use chunked_eager or eager attention instead of sdpa. The current version is TOD decision v1, with a release evaluation dated 29 September 2026. The TOD page gives a parameter count that does not match a 12B base, so the model card is the better guide for hardware.

On quality, Parsec's TOD page reports 84.4% accuracy on the public JevBench set of 231 text decisions, against 86.2% for the untrained base model. The page says that the regression is to be fixed in the next release. Probabilities that sum to 1 are not by themselves evidence of calibration. A team has to test on its own data whether a probability of 0.8 means that the choice is right about 80% of the time. TOD is neither a DMN runtime nor a policy verifier.

An untuned model is enough when it already meets the accuracy bar on a held-out set of your own requests. A tuning experiment makes sense only when you have domain examples and a measured gap. Parsec says that it tunes decision models on customers' own decisions, but it publishes no price for that work.

A hybrid routing design lets rules decide eligibility and the model rank the rest

The hybrid keeps policy authority in the rules and uses the model only to rank what the rules allow. In this example, a company routes support requests to Billing, Technical Support, Account Security and Enterprise Success. Its policy has three rules:

  1. A report of suspected unauthorised access goes only to Account Security and must be escalated.
  2. Enterprise Success may take a request only when the customer is on the enterprise tier.
  3. A refund over $500 requires human approval before dispatch.

The rules layer runs first. It returns the eligible teams, the required escalations and a status. Application code then follows a fixed order:

result = rules.evaluate(facts)                  # DMN or Drools, versioned
if result.status in ("missing_info", "conflict"):
    return send_to_review(request, result)
if len(result.eligible_teams) == 1:
    return dispatch(request, result.eligible_teams[0], result.escalations)
probs = tod.predict(state=request.text_and_facts,
                    options=result.eligible_teams,
                    question="Which team should handle this request?")
best, p = max(zip(result.eligible_teams, probs), key=lambda x: x[1])
if p < REVIEW_THRESHOLD:                        # chosen on held-out data
    return send_to_review(request, result, probs)
return dispatch(request, best, result.escalations)

The two hard cases go to people with a reason attached. When the customer tier is unknown, rule 2 cannot be checked, so the request goes to review with "tier missing" recorded. When a takeover report also asks for a $700 refund, rules 1 and 3 both apply and point to different teams. The rules layer returns "conflict" with both rule identifiers, and a reviewer makes the call. If that conflict keeps appearing, the policy owner should add a priority to the decision table.

On these assumptions, reviewer time costs far more than model fees

The figures below rest on stated assumptions, and only the TOD price comes from a published list:

  • The workload is 100,000 support requests a month.
  • The rules settle 40,000 requests on their own because only one team is eligible. This share is an assumption, and each team must count its own.
  • The remaining 60,000 requests are scored by hosted TOD at $0.30 per 1,000 decisions, the price on Parsec's TOD page.
  • 5% of all requests, or 5,000, go to human review because of missing facts, conflicts or a low score. This rate is also an assumption.
  • Each review takes 4 minutes, which is an assumption.

On these assumptions, TOD fees come to 60 × $0.30, which is $18 a month. If every request were scored, the fee would be $30. Review takes 5,000 × 4 minutes, which is 20,000 minutes, or about 333 staff hours a month. TOD fees are separate from any parent-model costs, which are not included here. The rules layer runs on the team's own servers, and that cost is not priced here either.

The model fee is small next to reviewer time, so the review threshold has the largest effect on total cost. Raising the threshold sends more requests to people. Lowering it sends more requests to the model and may raise the error rate.

A hybrid is better only when five measurements say so

Auditability is implementation work, not a feature of DMN, a rule engine or a learned model. Each dispatch should store the rules version, the model version, the input facts, the eligible options, the probabilities and the action taken. The rules need regression tests for each written policy, and the model needs a held-out evaluation set.

Before a team switches from rules alone to a hybrid, or from an untuned to a tuned model, it should compare the designs on the same requests:

  • Measure decision accuracy against the known correct team.
  • Count the policy-violation rate, which should be zero after the rules layer.
  • Track review coverage, meaning the share of requests sent to people and the share of model errors that the threshold catches.
  • Record latency from request to dispatch across both layers.
  • Add up total workflow cost, including model fees, servers and review hours.

These five numbers have not been published for any DMN, rule-engine and learned-model hybrid in support routing, so each team has to produce its own.

Sources

More in Models

All Models →