added $observe at `required` on the directive.
added $observe at `RegExp` on the directive.
added $observe at `[RuleName]` on the directive.