Add .gitignore, change rewriterule