BS-10723, add case variable rule