compute the neighbors on the grammar without null rules