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

A person on their phone, using a type of artificial intelligence.

AI-generated “nudification” is no longer a distant threat—it’s harming students now. As deepfake pornography spreads in schools nationwide, educators are left to confront a growing crisis that outpaces laws, platforms, and parental awareness.

Getty Images, d3sign

How AI Deepfakes in Classrooms Expose a Crisis of Accountability and Civic Trust

While public outrage flares when AI tools like Elon Musk’s Grok generate sexualized images of adults on X—often without consent—schools have been dealing with this harm for years. For school-aged children, AI-generated “nudification” is not a future threat or an abstract tech concern; it is already shaping their daily lives.

Last month, that reality became impossible to ignore in Lafourche Parish, Louisiana. A father sued the school district after several middle school boys circulated AI-generated pornographic images of eight female classmates, including his 13-year-old daughter. When the girl confronted one of the boys and punched him on a school bus, she was expelled. The boy who helped create and spread the images faced no formal consequences.

Keep ReadingShow less
Democracies Don’t Collapse in Silence; They Collapse When Truth Is Distorted or Denied
a remote control sitting in front of a television
Photo by Pinho . on Unsplash

Democracies Don’t Collapse in Silence; They Collapse When Truth Is Distorted or Denied

Even with the full protection of the First Amendment, the free press in America is at risk. When a president works tirelessly to silence journalists, the question becomes unavoidable: What truth is he trying to keep the country from seeing? What is he covering up or trying to hide?

Democracies rarely fall in a single moment; they erode through a thousand small silences that go unchallenged. When citizens can no longer see or hear the truth — or when leaders manipulate what the public is allowed to know — the foundation of self‑government begins to crack long before the structure falls. When truth becomes negotiable, democracy becomes vulnerable — not because citizens stop caring, but because they stop receiving the information they need to act.

Keep ReadingShow less
A close up of a person's hands typing on a laptop.

As AI reshapes the labor market, workers must think like entrepreneurs. Explore skills gaps, apprenticeships, and policy reforms shaping the future of work.

Getty Images, Maria Korneeva

We’re All Entrepreneurs Now: Learning, Pivoting, and Thriving the Age of AI

What do a recent grad, a disenchanted employee, and a parent returning to the workforce all have in common? They’re each trying to determine which skills are in demand and how they can convince employers that they are competent in those fields. This is easier said than done.

Recent grads point to transcripts lined with As to persuade firms that they can add value. Firms, well aware of grade inflation, may scoff.

Keep ReadingShow less
President Trump Should Put America’s AI Interests First
A close up of a blue eyeball in the dark
Photo by Luke Jones on Unsplash

President Trump Should Put America’s AI Interests First

In some ways, the second Trump presidency has been as expected–from border security to reducing the size and scope of the federal government.

In other ways, the president has not delivered on a key promise to the MAGA base. Rather than waging a war against Silicon Valley’s influence in American politics, the administration has, by and large, done what Big Tech wants–despite its long history of anti-Trumpism in the most liberal corners of San Francisco. Not only are federal agencies working in sync with Amazon, OpenAI, and Palantir, but the president has carved out key alliances with Mark Zuckerberg, Jensen Huang, and other AI evangelists to promote AI dominance at all costs.

Keep ReadingShow less