InputSource is = new InputSource(new StringReader(rule));
CSSOMParser parser = new CSSOMParser();
parser.setParentStyleSheet(this.parentStyleSheet);
// parser._parentRule is never read
//parser.setParentRule(_parentRule);
CSSRule r = parser.parseRule(is);
// Insert the rule into the list of rules
((CSSRuleListImpl)getCssRules()).insert(r, index);
} catch (ArrayIndexOutOfBoundsException e) {