All rules treated as code