final StyleKey[] keys = handler.getAffectedKeys();
for (int i = 0; i < keys.length; i++)
{
final StyleKey key = keys[i];
final CSSCompoundAttrFunction cattr = new CSSCompoundAttrFunction
(name, attr.getNamespace(), attr.getName(), attr.getType());
rule.setPropertyValue(key, cattr);
rule.setImportant(key, important);
}
}