ENH/BUG: unify rank computaiton and add better support for SSS filtered data

@agramfort @Eric89GXL @mluessi FYI
@Eric89GXL I changed it it was the other way round, not? history -> records