In this paper aimed at non-programmer lawyers, Jason Morris provides an introduction to the concept of “Rules as Code”, and demonstrates its use to encode Covid-19 rules, and generate applications on the basis of those rules.