Fixed bug in planner's LHS rule parser, preventing matches on deeply
nested OAV patterns.