I glued the particle board to the rails which is a wood to wood bond and very strong with enough wood glue. I also used some staples to fix it in place. A nail gun would be much better but I didn´t had one at the time. I got this one since then and I can totally recommend it.

Measure from edge to diagonal edge. If the distance is the same on both sides, all the boards are square to each others.