modify UI and added rule model