List points = md.getConfigurationPoints();
ConfigurationPointDescriptor cpd = (ConfigurationPointDescriptor) points.get(0);
Schema s = cpd.getContributionsSchema();
List l = s.getElementModel();
ElementModel em = (ElementModel) l.get(0);
List rules = em.getRules();
PushAttributeRule rule = (PushAttributeRule) rules.get(0);
assertEquals("foo", rule.getAttributeName());
}