remove all code rules