---
title: Adding an Annotation
description: "## Procedure 1. In the **displayed rules** view, double click anywhere on the rule you want to add an annotation to. 1. This places the rule in edit mode. 2. On the bottom right of the selected rule's view, click…"
url: "https://www.stilo.com/docs/migrate/editing-rules/adding-an-annotation/"
updated: "2021-04-24"
category: Rules / Editing Rules
tags:
  - Rules
---

# Adding an Annotation

## Procedure

1. In the **displayed rules** view, double click anywhere on the rule you want to add an annotation to.
   1. This places the rule in edit mode.
2. On the bottom right of the selected rule's view, click on the green plus button.
3. Double click the field labeled **an unspecified annotation**.
   1. The annotation field is placed into edit mode and the annotation menu is displayed.
4. Type an annotation name into the annotation text field or select an annotation from the annotation menu.
5. On the bottom left of the selected rule's view, click on the **Done** button.
   1. This takes the rule out of edit mode.

## Result

The annotation has been added to the rule.

## Once you are done

Although the rule has been updated within the rules editor, the change has not yet been propagated to the portal. To commit the change to the portal, you must save the rule set.

#### Prerequisite Concepts

- [Edit Mode](https://www.stilo.com/docs/migrate/getting-started-rules/edit-mode/)

#### Supporting Reference Material

- [Style Test](https://www.stilo.com/docs/migrate/types-of-tests-used-in-rules/style-test/)
- [Property Test](https://www.stilo.com/docs/migrate/types-of-tests-used-in-rules/property-test/)
- [Logical Group Test](https://www.stilo.com/docs/migrate/types-of-tests-used-in-rules/logical-group-test/)
- [Content Test](https://www.stilo.com/docs/migrate/types-of-tests-used-in-rules/content-test/)
- [Context Test](https://www.stilo.com/docs/migrate/types-of-tests-used-in-rules/context-test/)
- [Contains Element Test](https://www.stilo.com/docs/migrate/types-of-tests-used-in-rules/contains-element-test/)
- [Patterns](https://www.stilo.com/docs/migrate/types-of-tests-used-in-rules/patterns/)

#### Related Tasks

- [Deleting a Rule](https://www.stilo.com/docs/migrate/editing-rules/deleting-a-rule/)
- [Turning a rule on or off](https://www.stilo.com/docs/migrate/editing-rules/turning-a-rule-on-or-off/)
- [Commenting a rule](https://www.stilo.com/docs/migrate/editing-rules/commenting-a-rule/)
- [Adding a Test in a Condition](https://www.stilo.com/docs/migrate/editing-rules/adding-a-test-in-a-condition/)
- [Deleting a Test From a Condition](https://www.stilo.com/docs/migrate/editing-rules/deleting-a-test-from-a-condition/)
- [Moving a Test in a Condition](https://www.stilo.com/docs/migrate/editing-rules/moving-a-test-in-a-condition/)
- [Deleting an Annotation](https://www.stilo.com/docs/migrate/editing-rules/deleting-an-annotation/)
- [Moving an Annotation](https://www.stilo.com/docs/migrate/editing-rules/moving-an-annotation/)
