Added Rule model

Added Rule model and added static to git ignore file