if (mRules) return mRules->BeforeEdit(opID, aDirection);
if (mRules) return mRules->BeforeEdit(mAction, mDirection);
nsHTMLEditor::StartOperation(PRInt32 opID, nsIEditor::EDirection aDirection){  if (! ((opID==kOpInsertText) || (opID==kOpInsertIMEText)) )    ClearInlineStylesCache();  if (mRules) return mRules->BeforeEdit(opID, aDirection);  return NS_OK;}