rule.getProperties();
// Although it is a little stupid it is allowed, at least for now
// to have no properties for a selector.
if (properties != null) {
Iterator p = properties.propertyValueIterator();
while (p.hasNext()) {
PropertyValue propertyValue = (PropertyValue) p.next();
StyleProperty property = propertyValue.getProperty();
StyleValue value = propertyValue.getValue();
StyleValue activated = activateStyleValue(property, value);