If the rails have adjustment blocks that is great for getting them parallel but not so great at getting them perpendicular to the other axis. Which rails are you adjusting? On a gantry I would say you need to get the long axis parallel and then adjust the short axis(on the ganty) to get these perp. to the long axis.
Eric