added rules, and a hello world in index