add rule to validation in settings table