Copyright (c) 2021 Law in Context. A Socio-legal Journal
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
“Rules as Code” is a label adopted by people in governments working on the idea of encoding (or just marking up) legislation while it is being drafted, so that the logic of the resulting legislation can be “read” (and checked) by a computer, to improve the manner in which legislation is produced and the way in which it is available digitally. The idea is currently attracting attention in the legal community, particularly on the question of whether it will lead to automation replacing human interpretation of the law. This note briefly describes Rules as Code, at least as conceived by a legislative drafter. It argues that this conception of Rules as Code does not have the over-reaching ambitions that it may sometimes appear to harbour, and in particular does not trespass into removing key interpretative functions.
Deakin, S., Markou, C. (eds.). 2020. Is Law Computable? Critical Perspectives on Law and Artificial Intelligence, Oxford: Hart Publishing.
GNZ. Government of New Zealand. 2018. Better Rules for Go-vernment Discovery Report. March, https://www.digital.govt.nz/dmsdocument/95-better-rules-for-government-discovery-report/html
GNZ. Government of New Zealand. 2019. What is Better Rules? By H. Fraser, 20 December, https://www.digital.govt.nz/blog/what-is-better-rules/
GNSW. Government of New South Wales. 2019. Rules as Code. https://www.digital.nsw.gov.au/digital-transformation/policy-lab/rules-code-0
Governatori, G., Barnes, J.,Zeleznikow, J., de Koker, L., Poblet, M., Hashmi, M., Casanovas, P. 2020. “‘Rules as Code’ will let computers apply laws and regulations. But over-rigid interpretations would undermine our freedoms”, The Conversation, November 26th. https://theconversation.com/rules-as-code-will-let-computers-apply-laws-and-regulations-but-over-rigid-interpretations-would-undermine-our-freedoms-149992
McNaughton, S. 2019. “Week 64 — The State of Rules as Code in the Government of Canada”. https://firstname.lastname@example.org/week-64-the-state-of-rules-as-code-in-the-government-of-canada-8f3cb327448d
Mohun, J. and Roberts, A. 2020. "Cracking the code: Rulemaking for humans and machines", OECD Working Papers on Public Governance, No. 42, OECD Publishing, Paris, https://doi.org/10.1787/3afe6ba5-en.
Palmirani, M., Cervone, L., Bujor, O. and Chiappetta, M., 2013a. “RAWE: a web editor for rule markup in LegalRuleML”. Proceedings of the 7th International Rule Challenge, the HLT and the DC at RuleML2013, the 8th International Symposium on Rules. In CEUR workshop proceedings, Vol. 1004. http://ceur-ws.org/Vol-1004/
Palmirani, M., Cervone, L., Bujor, O., Chiapetta, M. 2013b. “RAWE: An Editor for Rule Markup of Legal Texts”, OASIS, https://2013.ruleml.org/presentations/RuleML-palmirani2013v2.pdf
Sartor, G., 2006. “Fundamental legal concepts: A formal and teleological characterisation.” Artificial Intelligence and Law, 14 (1-2): 101-142.
Sergot, M.J., Sadri, F., Kowalski, R.A., Kriwaczek, F., Hammond, P. and Cory, H.T. 1986a. “The British Nationality Act as a logic program”, Communications of the ACM, 29(5): 370-386.
Sergot, M., Cory, T., Hammond, P., Kowalski, R., Kriwaczek, F. and Sadri, F., 1986b. “Formalisation of the British nationality act”, International Review of Law, Computers & Technology, 2 (1): 40-52.
Waddington, M. 2020. “Non-financial legislation: human input, discretion & logic.” Rules as Code Knowledge-Sharing Event, 28 February, Bank of England. https://www.slideshare.net/MatthewWaddington3/non-financial-legislation-human-input-discretion-and-logic-28220
Wyner, A. 2019. “Annotating and Querying Content within Machine-readable Legal Instruments”, Office of the Parliamentary Counsel, London May 21. https://azwyner.info/wp-content/uploads/2019/05/WynerUKGovt_v3.pdf
Wyner, A., Gough, F., Levy, F., Lynch, M. and Nazarenko, A. 2017. “On Annotation of the Textual Contents of Scottish Legal Instruments”. A. Wyner and G. Casini (eds.) Legal Knowledge and Information Systems, JURIX-2017, Amsterdam: IOS Press, 101-106.