added basic rules file to templates