Spam rule?

How do I make a rule that says ‘If “From” name = “To” name in header’ send email to junk folder?
ex: From: Jdoe & To: Jdoe I get 8 - 10 of these spam each day.

You can’t have a Rule that compares two fields, unfortunately.