Added validator rules for the length of title and message.