Why don't you loosen the rail, center it, and re-tighten????
Its two bolts on the bottom of the rail for crying out loud.
Loosen the bolts, lay the rifle upside down on a piece of glass, tighten. That will make the rails line up fairly well.
If the barrel is still not centered vertically, loosen again, center the barrel then re-tighten.