Problem In Installing Yii User And Rights

hi

i tried to install yii user and rights

the rights was installed by this link: http://www.yiiframework.com/wiki/423/installing-yii-users-and-rights-to-newly-created-yii-app/

buy i dont know where to add this lines of code to configure rights by this link: http://www.yiiframework.com/wiki/448/assigning-dynamic-roles-to-a-user-using-yii-rights-module-at-the-time-of-user-creation-and-using-some-special-features-of-yii-rights/

thanks for advice

up