GII generates rules for unique indexes

Related to https://github.com/yiisoft/yii2/pull/1621

Some discussion here: https://github.com/yiisoft/yii2/pull/1623#issuecomment-31211037