[Enchance] Add filter rules of Mosaic transform (#5897)
[Enchance] Add filter rules of Mosaic transform (#5897)

* fix an error of mosaic

* fix an error for masaic

* Adding filtering rules for mosaic.

Adding filtering rules for mosaic.

* adding filtering rules for mosaic

* fix this bug in another PR

* fix the lint

* fix the spell
open-mmlab/mmdetection,open-mmlab/mmdetection