Making rockets that are computer guided in any way except for "vertical stabilization" is a felony in the US, so DARPA would need to be involved to hand out waivers.
Selling rocket guidance systems internationally is going to get you in trouble with ITAR, but that's a whole different can of worms.
> The term “destructive device” shall not include any device which is neither designed nor redesigned for use as a weapon
Adding a guidance system to a rocket does not mean it is explicitly designed as a ground-to-ground weapon. For the exact same reason it's legal to design and possess drones with guidance systems, it's legal to do so for rockets.