The http_stat_msg keyword is a content modifier that restricts the search to the extracted Status Message field from a HTTP server response.
As this keyword is a modifier to the previous content keyword, there must be a content in the rule before http_stat_msg is specified.
The Status Message field will be extracted only if the extended_reponse_inspection is configured for the HttpInspect (see 2.2.6).