add multi-layer configuration to rule config