The UN affiliated Organization for Economic Co-operation and Development (OECD) proposes that governments should publish rules as computer code to be directly consumed by software and machines. ⁃ TN Editor
Rules as Code (RaC) is a highly innovative idea that addresses how law and regulations are simultaneously produced in natural language and in working computer code. RaC has important implications not only for producing better rules (meaning clear and fit for purpose), but providing also a strong impetus for a powerful new generation of rule-based software platforms (ones better suited for real-world rules produced by governments and businesses).
RaC is a reaction to, and a projection of, the broader on-going digital revolution impacting citizens and businesses.[4] The World Economic Forum has coined the term ‘The Fourth Industrial Revolution’ to describe the fundamental change in the way we live, work, and where the physical, digital, and biological worlds are merging.
Why RaC?
Figure 1 summarizes what we see as the basic chain of reasoning for RaC. It identifies the urgency for governments to adapt to an accelerating digital world, the form of an appropriate response, the benefits that would accrue, and the conditions required for success.
What is RaC?
As indicated in the chain of reasoning, RaC represents a fundamental rethinking of how to give effect to a core responsibility of government — rule-making. It reshapes the interactions of the various stakeholders in the rule-making process, including drafters of laws and regulations, rule writers and analysts, and coders of software.
The essence of RaC can be distilled into six fundamental principles, or core notions, as follows:
(1) Digital Public Infrastructure. RaC makes a case for government to take responsibility for delivery of rules as computer code together with the rules expressed in natural language.
Currently, rules are already codified as part of digital services and software systems, though often not by the issuing government itself. Transparency, avoiding translation problems, and reducing duplication of effort are key objectives for RaC. It is generally accepted in many parts of the world that government should deliver public infrastructure suitable for the digital economy — e.g., for digital identity management. RaC or ‘digital’ legislation and regulation are similar foundational elements of a digital world and economy.
(2) Better Rules. RaC prescribes an iterative, human-centric, test-driven approach for developing rules.
RaC assumes human-consumable rules will be inherently better (more readable, more complete, more fit for purpose) if simultaneously drafted or interpreted along with a machine-consumable version. The traditional model of rules creation can cause challenges for digital service delivery. The rules can be difficult to understand or navigate, and their logic not robust. These shortcomings can make it difficult for designers and developers to build good digital services so people can easily understand their rights, obligations, and entitlements.
(3) Disambiguation. RaC prescribes clarity and precision in human-consumable rules; therefore, vocabulary coordination in the form of a concept model[5] is essential.
Clarity and reduction of ambiguity are the focus during development of the concept model, which assists in the same regard during modeling of decision and development of rules. The iterative process of developing the models and rules in a multidisciplinary team drives clarity and precision. The ultimate test is using working code and automated test cases to clearly prove high quality. Running automated test cases will identify any remaining areas of ambiguity or lack of clarity or precision.
(4) Digital Twin. RAC prescribes a digital twin for government rules. Any rule for use by humans must also be available in a form usable by machines — one that is both readable and highly precise.
Why a digital twin of the rules? Historically, rules have been coded by siloed organizations, often ones outside government, who do their own interpretations. There is no way to ensure consistency of intent with dispersed implementations like this. For example, salary and holiday payments to employees might be digitally completed within payroll software. Payroll software, however, must comply with the rules in employment legislation. Without a digital twin there is no way to guarantee fidelity in the payroll software with the source rules from the employment legislation.
(5) Isomorphism. RAC prescribes that every machine-consumable rule should remain tightly coupled with its human-consumable counterpart throughout its lifetime so that changes can be effectively synchronized at all times.
With RAC, a machine-consumable rule isn’t a translation of a rule by separate people at a different point in time but is developed in parallel and at the same time. This digital twin remains closely tied to its human-consumable counterpart so that the meaning of the two don’t diverge over time.
(6) Interoperability. RaC prescribes that rules rendered for machines should be independent of software platforms.
Government rules must be democratized and easily accessible. Citizens, entrepreneurs, social innovators, software developers, and the systems they develop should be able to “consume” the rules without having to translate the rules. This means considering open-source solutions and avoiding any vendor lock-in for platforms capturing the rules and making rules publicly available. Use of open and widely-accepted standards is a critical success factor for RaC.
Summary
RaC prescribes fundamental innovation in how policy and government rules are developed and the format they are published in. It is a direct reaction to a society that becomes more digital. Though aimed at government, it has implications for any organization creating policy — which is just about every organization in the world.
The fundamental goal of RaC is to eliminate the costly and counterproductive chasm between policy development and its implementation as part of digital services — no matter whether undertaken by government itself or through intermediaries such as a citizen advice bureau, a tax agent, a shipping agent, etc.
RaC aims to make government more responsive and adaptive. If adopted wisely, RaC could result in improvements for government and other organizations in all the following respects.
- Traceability
- Visibility
- Transparency
- Accessibility
- Trust
- Regulatory risk reduction
- Agility and efficiency
- Compliance
The bottom line is a dramatically improved experience dealing with government.
Adoption of RaC enables government to be more agile in its policy making processes. It will also create opportunities for innovation in other areas, such as enforcement approaches in government or users outside government such as the FinTech and RegTech industry.
In its most basic form, RaC has already shown its potential for better rules as demonstrated by the New Zealand Better Rules Initiative, OpenFisca in France, the government of New South Wales in Australia, the School of Public Services in Canada, and the legal interoperability team of the European Commission. The benefits of the approach are clear-cut.
As an innovation, RaC is in its earliest stages. It is likely to evolve in exciting and unexpected ways. Nonetheless, the basic logic of the idea, and the case for it in the digital age, is simply compelling.
Related posts:
Views: 0