Implement a grammar rule for understanding "X (by|before) Y"