source.setCharacterStream(new StringReader(value));
handler.initParseContext(source);
handler.setStyleRule(baseRule);
parser.setDocumentHandler(handler);
final LexicalUnit lu = parser.parsePropertyValue(source);
handler.property(name, lu, false);
final CSSStyleRule rule = (CSSStyleRule) handler.getStyleRule();
CSSParserContext.getContext().destroy();
return rule;