Add parser support for explicitly bidirectional pattern synonyms