RewriterController component = getController();
assertNotNull("template component is null", component);
assertNotNull("rewriter component is null", component);
FileReader reader = new FileReader(getBaseDir()+"src/test/rewriter/test-rewriter-rules.xml");
Ruleset ruleset = component.loadRuleset(reader);
assertNotNull("ruleset is null", ruleset);
assertEquals("ruleset id", "test-set-101", ruleset.getId());
Iterator rules = ruleset.getRules().iterator();
assertNotNull("rules is null", rules);
//
// test tags
//
Iterator tags = ruleset.getTags().iterator();
while (tags.hasNext())
{
Tag tag = (Tag) tags.next();
if (tag.getId().equalsIgnoreCase("FORM"))
{