Rules as Code
Interest Area

The Digital Government Network (DGN) offers opportunities to engage on select topics. These spaces are for practitioners who want to learn, share, and collaborate. They allow you to connect with peers, exchange resources, and stay informed about relevant discussions and opportunities.

All members are able to join a Google Group for the select topic(s). Government practitioners will also be sent an invitation to join a closed Slack space. All members agree to adhere to our community code of conduct and will receive guidance on our communications norms and the different ways to engage.

Rules as Code Interest Area

Welcome! This interest area creates a shared learning and exchange space for people working on public benefits eligibility and enrollment systems — and specifically people tackling the issue of how policy becomes software code.

This interest area brings together cross-sector experts who share approaches, examples, and challenges. Participants are from state, local, tribal, territorial, and federal government agencies, nonprofit organizations, academia, and private sector companies.

We aspire to have a standardized, open Rules as Code approach for U.S. public benefits programs. When this is achieved, rules will be communicated using a common, expandable syntax, they will be easy to find and incorporate into digital systems, and will be kept up to date to reflect the latest policy changes and new types of policies and benefits as they arise.

We value the experience and expertise from diverse backgrounds, disciplines, and sectors. We are focused on cross-benefit approaches for key programs including: food and nutrition (SNAP, WIC), health (Medicaid/CHIP), cash assistance (TANF, basic income), and unemployment insurance (UI).

Why Join?

  • Collaborate with cross-sector practitioners and experts working on benefits eligibility rules, policy, and digital systems.
  • Share resources, knowledge, and best practices related to Rules as Code.
  • Stay up to date with the latest developments and advancements in Rules as Code.
  • Contribute to improving the efficiency and effectiveness of public benefits systems.

New to Rules as Code? 

Welcome! We engage people at all levels of familiarity with Rules as Code. 

We like to use the Rules as Code definition from the Organisation for Economic Co-operation and Development (OECD): 

“an official version of rules (e.g., laws and regulations) in a machine-consumable form, which allows rules to be understood and actioned by computer systems in a consistent way.”

The OECD report Cracking the code: Rulemaking for humans and machines is an excellent introductory read on the foundational concepts of Rules as Code and offers numerous international examples. We also recommend Rules as code: Seven levels of digitisation which classifies “digital transformation” of legal rules into a hierarchy of levels to help establish common terms.

Under a future approach to rules as code for benefits eligibility, policy, laws, or regulations would be translated into 1) plain language logic flows and, 2) computer-consumable code developed in a standardized syntax. The code can then be implemented in digital systems including benefits applications, eligibility screeners, policy analysis tools, and more. Any stakeholder can review the legislation or regulation, plain language logic, and code side-by-side and know that all are official and ready for implementation.

In our research, we’ve been asking questions such as “what if all coded rules utilized a standard format?” and “what if many systems could utilize shared code?” Based on our research and engagement with cross-sector practitioners, we believe the best place to begin prototyping is with developing a data standard and syntax for writing rules and creating shared documentation in a code library. Providing this baseline within the ecosystem would then open up further technical possibilities. These could include having a shared business rules engine to centrally store and manage the rules and provide the integration point for application programming interfaces (APIs) to allow for direct integration of the rules, including a managed flow for updates and testing.

With eligibility rules published in policy documents, as plain language logic flows, and computer-consumable code written in a common syntax, it would improve transparency around individuals’ and families’ benefits eligibility determinations, and make it easier for people to receive benefits they are eligible for.

Past Offerings

Events

Rules As Code Demo Day | June 2022

  •  More than 200 attendees joined for eight demonstrations of Rules as Code followed by discussion sessions.

Sector-Specific Roundtables | April and September 2023

  • The DBN hosted three roundtables for rules as code practitioners by sector: the grassroots technical community, federal government practitioners, and state, local, tribal and territorial (SLTT) government practitioners. 

“Thank you so much for hosting us! The SLTT Rules as Code Roundtable is a unique and important group making some big improvements to lives that need it the most. It’s an honor to be here!” – State Government Policy Administrator

Cross-Sector Roundtable | February 2024

  • On February 22, 2024, over 90 practitioners from various sectors, including federal agencies, state and local agencies, non-profit organizations, industry, and academia joined us for the Cross-Sector Rules as Code Roundtable. We also welcomed participants from seven countries! Check out the videos:

Policy2Code Prototyping Challenge & Demo Day | Summer 2024

The Policy2Code Prototyping Challenge—organized by the Digital Benefits Network (DBN) at the Beeck Center for Social Impact and Innovation and the Massive Data Institute (MDI), both based at Georgetown University—culminated in the Policy2Code Demo Day on September 17, 2024 during BenCon 2024. Twelve teams presented their experiments, prototypes, and other developments to an audience of technologists, data scientists, civic tech specialists, public benefits advocates, non-profit organizations, private industry consultants, researchers, students, and government officials for feedback, awareness, and evaluation.

Since June 2024, Policy2Code Prototyping Challenge teams tested ways in which generative AI tools—such as Large Language Models (LLMs)—could help make policy implementation more efficient by converting policies into plain language logic models and software code under a Rules as Code (RaC) approach. Teams tested specific technologies and use cases ranging from eligibility screening, caseworker support, and translation to logic and code for a variety of U.S. public benefit programs, including SNAP, Medicaid, SSI/SSDI, LIHEAP, and Veterans benefits.

Conferences & Gatherings

We regularly present at conferences and gatherings. Get in touch if you’d like our team to speak at your event. 

Research and Content

Latest Work and Information from Across the Ecosystem

We curate resources, examples, and case studies on the Digitizing Policy + Rules as Code page of the Digital Government Hub. 

Research

Our team is among the first to extensively research how to apply a Rules as Code framework to the U.S. public benefits system. We draw from international research and examples, and have documented numerous U.S.-based projects that could inform a national strategy and shared syntax and data standard. 

AI-Powered Rules as Code

On March 24, 2025 the Digital Benefits Network at the Beeck Center and the Massive Data Institute released a new report, AI-Powered Rules as Code: Experiments with Public Benefits Policy, which documents four experiments exploring if artificial intelligence (AI) can be used to expedite the translation of SNAP and Medicaid policies into software code for implementation in public benefits eligibility and enrollment systems under a Rules as Code approach. This research originally started as part of the Policy2Code Prototyping Challenge.

Implementing Benefits Eligibility + Enrollment Systems: A Review of State Practices

This research documents states’ current processes for building and maintaining IEE systems, including how they interpret and translate policies into code.Throughout summer 2025, the DBN conducted interviews with leaders from seven states which operate or are building IEEs for core programs (i.e., the Supplemental Nutrition Assistance Program (SNAP), Medicaid, Temporary Assistance for Needy Families (TANF), child care, etc).