fixed segfault while adding rules
switched to @() boxing syntax instead of NSNumber literals
Merge pull request #7 from dutchcoders/fix-rule-sync

santad: fix segfault while adding rules