correcting multiline rules. beta test