added rule: required and $watch mode.