After the last action to all of your other rules that process those messages and log them to file, or DB or display or whatever, add the "Stop Processing Message" Action.
That will stop those messages from going any further past the rule that handles them, and then your catch-all rule at the bottom will only catch devices or messages that you haven't previously accounted for.