private static ChainSpecification createChainSpecification(ChainsConfig.Chains config) {
        return new ChainSpecification(new ComponentId(config.id()),
                createInheritance(config.inherits(), config.excludes()),
                createPhases(config.phases()),
                createComponentSpecifications(config.components()));
    }
Builds a chains model from config.

@author Tony Vaagenes
container-core/src/main/java/com/yahoo/component/chain/model/ChainsModelBuilder.java