rank_filter.hxx: Used std::enable_if's for arguments instead of as template parameters.