Fix support for element options on semantic predicates in LR rules

Fixes #590