rank_filter.hxx: Added typedef for deque for simplicity.
rank_filter.hxx: Switched to using the deque for reflection on the other side. This allows the filter to work in-place.