fixed line numbers for multiline syntax nodes
implemented generic symref syntax rule