Fixed the Rules for xml.erb and txt.erb files.