Adds basic getter/setters for validation rules