* @param isLocal
*/
protected void addStyleRule(StyleRule rule, MediaList mediaList, boolean isLocal)
{
// for each selector in this rule
SelectorList selectors = rule.getSelectorList();
int nSelectors = selectors.getLength();
for (int i = 0; i < nSelectors; i++)
{
Selector selector = selectors.item(i);
StyleDeclaration declaration = rule.getStyleDeclaration();
// If we have a list of selectors, copy the shared
// StyleDeclaration so that we can independently track
// subject and selectors per instance.