I've been receiving spam emails with blank subjects lately.

I used to have a filter/rule in Outlook that would easily delete these messages but I can't get it to work in Mail.

Does anyone know how to implement a simple rule to delete or move a received email with a blank subject line in Mac Mail? I tried creating a rule and leaving the 'Contains' field empty but the program won't accept an empty field.