Created some basic validation rules