I think I have an easier way, but I might not even understand the problem properly, anyways:
Make sure 'snap to guides' is selected (view-snap to-guides)
Create your guidelines,
Select the rectangle tool,
Make sure the 'paths' icon is selected (not shape layers or fill pixels - it looks like a little path box with a pen in it)
Draw rectangles making them snap to the guidelines you've already setup.
Once you've done all of them, new layer, then stroke the path with the pencil and you'll have the lines you'll need.
Takes longer to explain than to actually do.