Fixed resource rules not being applied.
Added .DS_Store to .gitignore
Merge pull request #1 from sanekgusev/master

Resource rules