removed Rights dependency, added compatiblity with Yii 1.1.13