The rule is there so that there would never be a case where a clogged fixture would cause water. and presumably some waste..to back into the vent line and clog it. I think the 6" number was just chosen as a good number. I can't tell you right off hand if it is measured to C/L or to the weir of the fitting. If you are close, an inspector will probably not give you any grief.