nsICSSRule* rule = (nsICSSRule*)aRule;
SetStyleSheetReference(nsISupports* aRule, void* aSheet){  nsICSSRule* rule = (nsICSSRule*)aRule;  nsICSSStyleSheet* sheet = (nsICSSStyleSheet*)aSheet;  rule->SetStyleSheet(sheet);  return PR_TRUE;}