private static ChainSpecification.Inheritance createInheritance(List<String> inherit, List<String> exclude) {
        return new ChainSpecification.Inheritance(
                createComponentSpecifications(inherit),
                createComponentSpecifications(exclude));
    }
Builds a chains model from config.

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