correcting multiline rules. Auto switch test