the new messagesetting and add messagewarnerrule of warnerrule