public void testRules() throws Exception
{
ModuleDescriptor md = parse("GenericModule.xml");
List l = md.getConfigurationPoints();
assertEquals(1, l.size());
ConfigurationPointDescriptor cpd = (ConfigurationPointDescriptor) l.get(0);
Schema schema = md.getSchema(cpd.getContributionsSchemaId());
l = schema.getElementModel();
ElementModel em = (ElementModel) l.get(0);