updated glue grammar to extract top-level glue rules