Metal T-Square/L Square to give you a true edge square up your paper/ruler against. I also recommend a transparent ruler with a grid. They make some with metal edges too.
Alternatively, you can make panel templates out of something sturdy like wood, cardboard or foamcore. The downside is that that is more restrictive since it limits what sort of layouts you can have.