// create the dynamic configuration
DynamicProcessConfiguration dynamicConfiguration =
pipelineFactory.createDynamicProcessConfiguration();
// get hold of all the rules need for testing
DynamicRuleConfigurator ruleConfigurator =
pipelineFactory.getRuleConfigurator();
// configure the dynamic configuration
ruleConfigurator.configure(dynamicConfiguration);
// add the rules that are specified via markup extensions
addMarkupExtensionRules(configFileInfo, dynamicConfiguration);
// add the extra MCS only rules