Added validation rule to check the event name in behaviour blocks