...
Log in to https://webmail.medschl.cam.ac.uk using your Medschl username and password (that you would use to log in to a supported departmental computer).
Select the cog icon in the top-right of the window, next to your name. Then select Options from the drop-down menu:
In the options page, select the organize email option.
The inbox rules pane should appear.If you have any rules they will be displayed. Any rules that are currently active will have a blue tick beside it.
Select a rule and click on the pencil Icon above the rules to view the configuration
If you can have 2 windows open one with Medschl webmail https://webmail.medschl.cam.ac.uk and another with Exchange Online https://outlook.office.com/mail/ creating new rules will be very easy. Otherwise we suggest that you take a screenshot or write down the configuration of the rules you want to have in Exchange Online.
...
Go to Exchange Online https://outlook.office.com/mail/
Click on the gear icon near the top right of the window
Click View all Outlook settings
Click on Rules
Click + Add new rule
Name your rule and select the appropriate conditions
If you have several rules that might apply to a message but only want to apply one, tick the Stop processing more rules tickbox
Tick Run rule now if you have messages in your inbox that you want to be processed by your new rule
Click Save when you are happy with your rule and then run through steps 5-8 to create another one.
You can also set up Rules in Outlook by following this Microsoft article: https://support.microsoft.com/en-us/office/manage-email-messages-by-using-rules-c24f5dea-9465-4df4-ad17-a50704d66c59