To transfer rules from a previous version of outlook, check out this article

To set up rules from scratch in outlook, have a look here

Import or export a set of rules

Applies To: Outlook 2016, Outlook 2013

When you import rules, they are added to the end of the existing list of rules. You can import only one set of rules at a time. When you export rules, they are saved in a file with an .rwz extension.

1. Click the File tab.

2. Click Manage Rules & Alerts.

3. Click Options.

4. Do one of the following:

Import rules   

  1. Click Import Rules.

  2. Select the rules file that you want to import.

    If you want to import a file that contains rules other than those in the Rules and Alerts Wizard, such as rules that are compatible with previous versions of Microsoft Outlook, click the file type in the Files of type list.

  3. Click Open.

Export rules   

  1. Click Export Rules.

  2. Select the folder where you want to save the rules file, and then In the File name box, type a name for the set of rules that you want to export.

  3. If you want to export a file that contains only rules that are compatible with a previous version of Microsoft Outlook, in the Save as type list, select one of the following:

    • Outlook 2002 Compatible Rules Wizard rules

    • Outlook 2000 Compatible Rules Wizard rules

    • Outlook 98 Compatible Rules Wizard rules

  4. Click Save.

TIP:  You can create a backup copy of your rules by using this Export Rules procedure.

Manage email messages by using rules

Applies To: Outlook 2016 , Outlook 2013

A rule is an action that Outlook 2013 or Outlook 2016 for Windows runs automatically on incoming or outgoing messages. You choose what triggers the rule as well as the actions the rule takes. For example, you can create a rule to move all messages from your manager to a folder or to delete all messages with "Buy now!" in the subject.

How rules help you manage email messages

By using rules, you can reduce manual and repetitive actions needed to manage your email messages. When you turn on rules, they run continuously and automatically.

Rules generally fall into one of two categories—organization or notification. You can use the Rules Wizard to help you design rules to manage your messages.

The Rules Wizard includes templates for the most frequently used rules.

Stay Organized   
These rules help you not only to file messages, but also to follow-up with messages. You can create a rule for messages from a specific sender. So you could set a rule, for example, that messages received from Keri Mills with the word "sales" in the Subject box are to be flagged for follow-up, categorized as Sales, and moved to a folder named Keri’s Sales.

Stay Up to Date   
These rules notify you—based on choices you make—when you receive a particular message. You can create a rule, for example, that automatically sends a message to a mobile device when you receive a message from a family member.

Start from a blank rule   
These are rules that you can create and customize without a rule template.

TIP: For your convenience, each section is compressed under a header. To open the Create a rule section, for example, choose >.

Comment