Legislation is a kind of procedural code, compiled and interpreted by various governmental organizations (courts, agencies, etc.). Rather an abstraction to be sure, but 'if X then Y, else Z' is the sort of logical proposition which underlies both programming and lawmaking, and parsing the resulting code is the sort of intellectual task that hackers enjoy.