Verification of case rule does not work correctly ... transition always turns red with 2 cases ... and always green with 3 or more cases