UL 508 gives guidelines for making a product UL certified. It follows the NFPA pretty much but has specifics on enclosure type, component spacing etc. In general, the components used in a UL control panel must themselves be UL listed. UL is primarily used is if you are planning on selling a product and you want to have a UL sticker on it. The shop that manufactures the panel must be certified by UL.