Fixing index, adding models
How rules are checked ?