Orientation of switching elements in PLA
You're meant to consider the drawing as an example of resistor diode logic. 



Selective placement of the diodes configures the intermediate signals and the outputs. 
It's a little confusing because the grounds are towards the top of the figure on the right.