Question: how to create rule in outlook based on subject?
Answer: Open Outlook and click Inbox (or any other folder you want to apply a rule to).
Click the Rules icon and then Manage Rules and Alerts.
Click New Rule.
Select a template. ... 
Uncheck "with specific words in the subject" and check "with specific words in the subject or body."