private void SplitRules(IDictionary<String, String> css, String key, String value)
{
if (Util.EqualsIgnoreCase(CSS.Property.BORDER, key)) {
CssUtils.MapPutAll(css, utils.ParseBorder(value));
} else if (Util.EqualsIgnoreCase(CSS.Property.MARGIN, key)) {
CssUtils.MapPutAll(css, utils.ParseBoxValues(value, "margin-", ""));
} else if (Util.EqualsIgnoreCase(CSS.Property.BORDER_WIDTH, key)) {
CssUtils.MapPutAll(css, utils.ParseBoxValues(value, "border-", "-width"));
} else if (Util.EqualsIgnoreCase(CSS.Property.BORDER_STYLE, key)) {
CssUtils.MapPutAll(css, utils.ParseBoxValues(value, "border-", "-style"));
} else if (Util.EqualsIgnoreCase(CSS.Property.BORDER_COLOR, key)) {
CssUtils.MapPutAll(css, utils.ParseBoxValues(value, "border-", "-color"));
} else if (Util.EqualsIgnoreCase(CSS.Property.PADDING, key)) {
CssUtils.MapPutAll(css, utils.ParseBoxValues(value, "padding-", ""));
} else if (Util.EqualsIgnoreCase(CSS.Property.FONT, key)) {
CssUtils.MapPutAll(css, utils.ProcessFont(value));
} else if (Util.EqualsIgnoreCase(CSS.Property.LIST_STYLE, key)) {
CssUtils.MapPutAll(css, utils.ProcessListStyle(value));
} else {
css[key] = value;
}
}