Added rewrite rules file and examples. corrected some more typos and comments.