Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| dido:05-semantics:01-kinds-of-semantics:11-rule-semantics [2026/07/08 03:02] – removed - external edit (Unknown date) 127.0.0.1 | dido:05-semantics:01-kinds-of-semantics:11-rule-semantics [2026/07/18 12:33] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Rule Semantics ====== | ||
| + | [[dido: | ||
| + | |||
| + | ===== Discussion ===== | ||
| + | |||
| + | Rule semantics defines meaning through rules, conditions, constraints, | ||
| + | |||
| + | A rule expresses semantic content when it constrains what an artifact, system, actor, process, message, [[dido: | ||
| + | |||
| + | Rule semantics differs from rule syntax. Rule syntax provides the form of the rule. Rule semantics defines what the rule means and how the rule constrains interpretation or behavior. | ||
| + | |||
| + | Rule semantics also differs from implementation logic. Implementation logic executes or enforces selected rules. Rule semantics establishes the meaning that implementation logic preserves, validates, derives, or enforces. | ||
| + | |||
| + | Rules appear in several forms, including natural-language business rules, decision tables, validation rules, policy rules, conformance rules, [[dido: | ||
| + | |||
| + | Rule-processing architectures express rule semantics through defined responsibilities. A policy administration point records or manages governed rules. A policy information point supplies facts, attributes, or context used during rule evaluation. A policy decision point evaluates rules and produces decisions. A policy enforcement point enforces decisions. | ||
| + | |||
| + | Rule semantic content includes: | ||
| + | |||
| + | * Rule subjects | ||
| + | * Rule conditions | ||
| + | * Rule conclusions | ||
| + | * Business vocabulary terms | ||
| + | * Fact types | ||
| + | * Obligations | ||
| + | * Prohibitions | ||
| + | * Permissions | ||
| + | * Constraints | ||
| + | * Derivations | ||
| + | * Decision inputs | ||
| + | * Decision outputs | ||
| + | * Validation outcomes | ||
| + | * Decision outcomes | ||
| + | * Exceptions | ||
| + | * Violation conditions | ||
| + | * Rejection reasons | ||
| + | * Evidence requirements | ||
| + | * Policy administration points | ||
| + | * Policy information points | ||
| + | * Policy decision points | ||
| + | * Policy enforcement points | ||
| + | * Traceability to semantic sources | ||
| + | |||
| + | A governed architecture preserves [[dido: | ||
| + | |||
| + | ===== Definition ===== | ||
| + | |||
| + | //meaning defined through rules, conditions, constraints, | ||
| + | |||
| + | ===== Source ===== | ||
| + | |||
| + | DIDO Solutions usage, informed by business rule practice, policy modeling, validation practice, conformance testing, semantic modeling practice, and model-driven architecture principles. | ||
| + | |||
| + | ===== Note ===== | ||
| + | |||
| + | Rule semantics is not equivalent to rule execution. A rule engine, validation function, policy decision point, policy enforcement point, or runtime check expresses selected rule semantics in executable or operational form. The governed rule source establishes the intended meaning. | ||
| + | |||
| + | A rule violation carries semantic meaning when the violated rule traces to a defined concept, business vocabulary, policy, requirement, | ||
| + | |||
| + | ===== Example ===== | ||
| + | |||
| + | An FX Demo specification defines the following business rule: | ||
| + | |||
| + | < | ||
| + | A confirmed FX trade has a settlement date that does not precede the trade date. | ||
| + | </ | ||
| + | |||
| + | The rule contains semantic content because it defines a valid relationship between the trade date, settlement date, and confirmed lifecycle state. | ||
| + | |||
| + | ^ Rule element ^ Example value ^ Rule semantic meaning ^ | ||
| + | | Rule subject | '' | ||
| + | | Business vocabulary terms | '' | ||
| + | | Condition | '' | ||
| + | | Prohibition | settlement date before trade date | the lifecycle interpretation is not permitted | | ||
| + | | Expected validation outcome | '' | ||
| + | | Rejection reason | '' | ||
| + | | Semantic source | FX trade lifecycle rule | the rule traces to the governed lifecycle meaning | | ||
| + | | Conformance interpretation | non-conforming trade lifecycle interpretation | the failed rule identifies a semantic non-conformance | | ||
| + | |||
| + | The rule-processing architecture assigns responsibilities for the same rule: | ||
| + | |||
| + | ^ Rule-processing role ^ Example component ^ Rule semantic responsibility ^ | ||
| + | | Policy administration point | '' | ||
| + | | Policy information point | '' | ||
| + | | Policy decision point | '' | ||
| + | | Policy enforcement point | '' | ||
| + | |||
| + | The same rule appears as executable validation logic in an implementation: | ||
| + | |||
| + | < | ||
| + | if settlementDate < tradeDate: | ||
| + | reject(" | ||
| + | </ | ||
| + | |||
| + | The code expresses rule semantics only because the implementation traces to the governed rule. Without traceability, | ||
| + | |||
| + | ---- | ||
| + | |||
| + | <WRAP centeralign> | ||
| + | © 2026 Dido Solutions, Inc. and Jackrabbit Consulting, Inc. | ||
| + | </ | ||