Complex sentence: It is illegal to carry a gun outside a residence, and a special permit is granted to certain groups, such as law enforcement officers.
Split into simpler sentences: It is illegal to carry a gun outside a residence. A special permit is granted to certain groups, such as law enforcement officers.