Correct line/column labelling for attribute rules