Added 'Optional()' flag for rules.
Added Trim() flag.