UCP: clearing rules
Refactor global rules testing