// Add rules to recognize the built-in steps that we know about
BaseRuleSet brs = new BaseRuleSet();
digester.addRuleSet(brs);
digester.addRuleSet(new CoreRuleSet());
digester.addRuleSet(new IoRuleSet());
digester.addRuleSet(new WebRuleSet());
// Add a rule to register the Activity being created
digester.setRuleNamespaceURI(brs.getNamespaceURI());
digester.addSetNext("activity", "setActivity",
"org.apache.commons.workflow.Activity");