You are into the NFPA or BOCA life/safety codes. A fire marshall or AHJ can demand more fire rating. The electrical code may deal with penetrations but not fire ratings. Each type of box has a UL fire rating, but again if the AHJ wants more you have to install them. Remember the different disaplines, fire, life safety, will include all the differing codes into their inspections. And the fire marshall in many times is the most powerful.