use config.core instead of config.type for compiling rules