Question: how to create the rule in outlook?
Answer: Select File > Manage Rules & Alerts > New Rule. Select a template. For example, to flag a message: ...  Edit the rule description. ...  Select Next. Select the conditions, add the relevant information, and then select OK. Select Next. Finish the rule setup. ...  Select Finish.