Skip to main content
Rules evaluate in order from top to bottom, and the first rule that matches determines the variant assignment.

Reorder Rules

You can reorder rules by dragging them up and down in the list.
1

Go to Confidence and select Flags on the left sidebar

2

Go to the flag you want to reorder rules for

3

Drag a rule up or down in the list

Click and hold on a rule card, then drag it to the desired position.

Best Practices

Place individual targeting rules at the top. Individual targeting rules should evaluate first to ensure they take precedence over other rules. This also increases their visibility and makes it quick to turn them off when no longer needed. Confidence adds new rules to the bottom. When you create a new rule, Confidence places it at the bottom of the list to avoid impacting already running tests and rollouts.
Changing the order of rules can have a significant impact on user experience and may affect the results of A/B tests and rollouts. The first rule that matches a client and user determines the variant, so moving rules can change which users see which variants.