updated the validation rules

Change-Id: If809fabbc408648649a418bc6adf2f0299a3486f