Question: how to create a rule in outlook online?
Answer: Organize email > Inbox rules > New. OR.
Mail > Automatic processing > Inbox rules > New > Create a new rule for arriving messages.