Bug 945580 - Add nsRuleNode::IsInherited helper function. r=dbaron