Question: how to create a rule in outlook for a shared mailbox?
Answer: Set a rule in Outlook on the web for a shared mailbox and choose Mail. In the Mail > Automatic processing section choose Inbox and sweep rules. In the Inbox Rules section choose the + (plus) icon to add a new rule. Give the rule an appropriate name.