Skip to content
Search

Latest Stories

Follow Us:
Top Stories

When Rules Can Be Code, They Should Be!

Achieving safe, scalable efficiencies requires a new approach to rule making.

Opinion

shallow focus photography of computer codes
Shahadat Rahman on Unsplash

Ninety years ago this month, the Federal Register Act was signed into law in a bid to shine a light on the rules driving President Franklin Roosevelt’s New Deal—using the best tools of the time to make government more transparent and accountable. But what began as a bold step toward clarity has since collapsed under its own weight: over 100,000 pages, a million rules, and a public lost in a regulatory haystack. Today, the Trump administration’s sweeping push to cut red tape—including using AI to hunt obsolete rules—raises a deeper challenge: how do we prevent bureaucracy from rebuilding itself?

What’s needed is a new approach: rewriting the rule book itself as machine-executable code that can be analyzed, implemented, or streamlined at scale. Businesses could simply download and execute the latest regulations on their systems, with no need for costly legal analysis and compliance work. Individuals could use apps or online tools to quickly figure out how rules affect them.


These aren’t theoretical ideas. The first prominent work in this area was undertaken by Prof. Robert Kowalski at Imperial College London, who codified the British Nationality Act as a set of rules. Since then, AI researchers have explored—and, in many cases, solved—the numerous challenges associated with turning regulations into code. That includes identifying areas where human judgment remains central, ensuring that encoded regulations clearly indicate where discretion applies, flagging potential exceptions, and certifying that decisions are fully traceable.

In the European Union, the GovTech4All project is developing a “Personal Regulation Assistant,” powered by regulatory code, to assist citizens in identifying and accessing benefits, regardless of their level of digital literacy or policy knowledge. The project will serve as a model to replicate the rules-as-code approach across other areas of European regulations.

In the U.S., meanwhile, the approach has been championed by private-sector innovators. Intuit’s TurboTax is a leading example, showing how the tax code can be translated into a computational interface to help individuals. The Bay Area startup Symbium has encoded regulations to enable California homeowners to secure solar installation permits—a process that used to take weeks or months of paperwork, revisions, and waiting—in just seconds.

Such ventures show the power of using digital tools to streamline the implementation of regulations—but they require individual businesses to interpret and codify the rules in question. If the tax code, the building code, or other regulations were already available as machine-executable rules, this process would be orders of magnitude faster, could be scaled nationwide, and would deliver powerful efficiencies across the U.S. economy.

Swapping our existing mishmash of PDFs and static webpages for elegant, unified computer code would instantly unlock important new efficiencies—automatically flagging ambiguities, simplifying complex rules, and eliminating redundancies without losing substance. It would also enable powerful tools like compliance test suites and public-facing rule repositories, driving greater transparency, reducing red tape, and enhancing ease of use.

What would it take to “encode” any rule book, regardless of whether it is at the federal, state, or city government level? The first step is to identify and codify the regulations in most need of an overhaul. Obvious examples might include engineering or design standards, which are currently slow to adapt to technological changes, but which are also prescriptive and could easily be rewritten as code. The processes for permitting and environmental impact assessments—already recognized by the White House as a target for new efficiencies—would be another leading candidate.

We’ll also need to use new technologies to enable rules to be converted into code in reliable and scalable ways. Such efforts have been daunting until now because of the huge manual effort required to analyze and rewrite regulations. New AI tools, however, make it possible to both analyze vast amounts of text and to write and rigorously validate computer code, with almost superhuman speed and accuracy. With regulatory sprawl wiping 0.8 percentage points from America’s annual GDP growth, using AI to accelerate the process of turning federal rules into code would deliver clear ROI and powerful efficiencies across the federal government and beyond.

As things stand, America’s federal agencies still use a 19th-century rulemaking process—and as individuals and businesses, we’re all paying the price for that. President Trump is right to push for reductions in government red tape. But that effort should be paired with a concerted effort to bring federal regulations into the 21st century and develop a machine-readable rule book that’s ready for the challenges and opportunities of the AI era.


Vinay K. Chaudhri supports a National Science Foundation initiative on Knowledge Axiomatization. Previously, he led AI research at SRI International and taught knowledge graphs and logic programming at Stanford University.


Read More

Sketch collage image of businessman it specialist coding programming app protection security website web isolated on drawing background.

Amazon’s court loss over Just Walk Out highlights a deeper issue: employers are increasingly collecting workers’ biometric data without meaningful consent. Explore the growing conflict between workplace surveillance, privacy rights, and outdated U.S. laws.

Getty Images, Deagreez

The Quiet Rise of Employee Surveillance

Amazon’s loss in court over its attempt to shield the source code behind its Just Walk Out technology is a small win for shoppers, but the bigger story is how employers are quietly collecting biometric data from their own workers.

From factories to Fortune 500 companies, employers are demanding fingerprints, palmprints, retinal scans, facial scans, or even voice prints. These biometric technologies are eroding the boundary between workplace oversight and employee autonomy, often without consent or meaningful regulation.

Keep ReadingShow less
Close up of a woman wearing black, modern spectacles Smart glasses and reality concept with futuristic screen

Apple’s upcoming AI-powered wearables highlight growing privacy risks as the right to record police faces increasing threats. The death of Alex Pretti raises urgent questions about surveillance, civil liberties, and accountability in the digital age.

Getty Images, aislan13

AI Wearables and the Rising Risk of Recording Police

Last month, Apple announced the development of three wearable smart devices, all equipped with built-in cameras. The company has its sights set on 2027 for the release of their new smart glasses, AI pendant, and AirPods with built-in camera, all of which will be AI-functional for users. As the market for wearable products offering smart-recording capabilities expands, so does the risk that comes with how users choose to use the technology.

In Minneapolis in January, Alex Pretti was killed after an encounter with federal agents while filming them with his phone. He was not a suspect in a crime. He was not interfering, but was doing what millions of Americans now instinctively do when they see state power in motion: witnessing.

Keep ReadingShow less
AI - Its Use, Misuse, and Regulation
Glowing ai chip on a circuit board.
Photo by Immo Wegmann on Unsplash

AI - Its Use, Misuse, and Regulation

There has been no shortage of articles hailing the opportunity of AI and ones forecasting disaster from AI. I understand the good uses to which AI could be put, but I am also well aware of the ways in which AI is dangerous or will denigrate our lives as thinking human beings.

First, the good uses. There is no question that AI can outthink human beings, regardless of how famous or knowledgeable, because of the amount of information it can process in a short amount of time. The most powerful accounts I've read have been in the field of medical research: doctors have fed facts into AI, asking for a diagnosis or a possible remedy, and AI has come up with remarkable answers beyond the human mind's capability.

Keep ReadingShow less
Overbroad AI Export Controls Risk Forfeiting the AI Race
a black keyboard with a blue button on it

Overbroad AI Export Controls Risk Forfeiting the AI Race

The nation that wins the global AI race will hold decisive military and economic advantages. That’s why President Trump’s January 2025 AI Action Plan declared: “It is the policy of the United States to sustain and enhance America’s global AI dominance in order to promote human flourishing, economic competitiveness, and national security.”

However, AI global dominance does not just mean producing the best AI systems. It also means that the American “AI Stack” – the layered collection of tools, technologies, and frameworks that organizations use to build, train, deploy, and manage artificial intelligence applications – will become the international standard for this world-changing technology. As such, advancing a commonsense export policy for American AI chips will play a decisive role in determining whether the United States remains embedded at the core of global AI development or is gradually displaced by rival systems.

Keep ReadingShow less