Remove rules that don't need to be public from compiler.h