There's a lot of info that you may need:
Is sheetrock going in the cavity between the two 2x4 walls? How about core wall board? It would have to go thru continuous. IF that's the case, you are in regular walls, as long as you don't penetrate thru.
IF there is nothing between the two walls:
Openings on both sides of fire rated wall must be 24" apart. Hilti makes a 'putty pad' (firestoping) that can be wrapped around boxes that are closer but it's $$$
This applies to ALL openings, electric, phone, cable, HVAC, etc.
Also, be careful for a rated ceiling with penetrations.
Your best bet is to check with the Building Inspector before you start to save what could be a lot of grief.