Updated config to work with heroku
Added a few rules