Capture '|' and '=' in guarded rhs