rulesCompile works