changed rules file/added html to index file