Modified name validation rule