Moved drawRects to RectsFilter
merged