Create reasons to be added and shown on the transaction, when a rule have action “Mark as resolved” the selected reason is added to transaction.

Create a new or rename a reason in menu Reasons under Sync.

Reason can after that be added to a rule.