"Trinary Switch" - if condition in case rule