change to rule over whether pb makes a span or div

from ancestor::lg to parent::lg