Genarate rcm.7 from template