Clamp the rails to the table with C-clamps and use a transfer punch to mark the holes. Remove rails and drill out the marked holes with 1/8" bit, then the proper drill size for the tap you are using, using a drill press if you have one. Using a drill press helps keep everything square. Verify everything is straight and square before you commit to marking the holes.
Steven