Make stub nodes inherit correctly

Some of these stubs didn't inherit Node at all. Made them all inherit
LeafNode because their rules specify they can't have children.

Change-Id: If4afc8de350f67ee78a41307c426ec2aceeb884f
Merge "Make stub nodes inherit correctly"