Add rewrite rules
Disbale message if empty