Added validations for the first two validation rules