Refactor all models to new rules format
Fixed apps rules
Merge pull request #1184 from slavcodev/only-arrays-in-rules

Using only arrays in rules instead comma-separated string