validate method become to receive rule object