Renamed PatternPath to PatternPart and adjust AST hierarchy