# Add and manage lead scoring rules

## Overview

In this article you learn how to add and manage the scoring rules of lead scoring types.

> info **PREREQUISITES**: To use this feature, you must have a paid Sitefinity Insight subscription. To upgrade, contact [Sitefinity Sales](mailto:sitefinitysales@progress.com).

> **IMPORTANT**: When you change the lead scoring rules, or Sitefinity Insight automatically changes lead scoring rules (for example, when you delete a Persona or Conversion used in a lead scoring rule), a background recalculation is triggered. This calculation is time consuming and can take up to an hour to get the recalculated results.

## Add a rule

You can add a rule when creating a new lead scoring type or by pressing the *Manage stages and rules* button of an existing lead scoring type.

Once you have opened the *Manage stages and rules* screen, to add a rule, perform the following:

1. Under *Rules for scoring points*, click ![Add](https://www.progress.com/documentation/sitefinity-cms/insight/assets/35796271bf642d03331938eb62c8c611/plus.png "Add")(*Add*).\
   The *Condition* dialog appears.\
   For more information, see [Define condition dialog](https://www.progress.com/documentation/sitefinity-cms/insight/define-condition-dialog).
2. Select the condition when this activity brings score points to the visitor.\
   For more information, see [Lead scoring rules format](https://www.progress.com/documentation/sitefinity-cms/insight/lead-scoring-rules-format).
3. Define how many points to give the visitor. You can add, subtract, or reset the points to zero.

   > info  **NOTE**: You can choose whether visitors score points just once or every time they complete the interaction. For more information, see [Lead scoring rules](https://www.progress.com/documentation/sitefinity-cms/insight/lead-scoring-rules).
4. Optionally, under *Time limitations » Remove visitors with no activity in...*, choose a time limitation for automatically excluding visitors from being considered a lead.\
   If visitors do not perform an action for a time period longer than the one you specify, they are automatically removed as a lead.\
   You can see when a visitor is removed as a lead in their visitor journey map.\
   For more information, see [Contact profiles](https://www.progress.com/documentation/sitefinity-cms/insight/contact-profiles) » *Journey*.\
   If visitors perform an action after they were removed as a lead, Sitefinity Insight starts evaluating their actions as if they were new visitors and does not automatically include them in the previous lead.

## Rules matches

When editing an existing lead score, for each rule, the total number of matches is displayed. A match is an actual action of adding points to a visitor towards their association with a specific scoring type in accordance with this rule. If the rule matches a second time by the same visitor towards the same scoring type, it is counted again.
