[BZ-999851] add test case using 3 identical rules with forall