updated validate rule's base class