test adding rules in a long process