@Srikar Gondesi - UAS Database Administrator As per the product team the mentioned replication filter REPLICATE_REWRITE_DB is not supported with Azure Database for MySQL Flexible Server. Currently there is no inherent feature with Flexible Server to support this use case.
To better understand your requirements and potentially suggest alternative solutions, it would be helpful to know why you require the use of the replication filter.
Regards
Geetha