Add string validation rule