Terry Branstad (R) on Thursday signed one of the most ambitious expansions of gun rights legislation passed in any state in recent years, giving gun owners the ability to defend themselves in public and preventing local governments from implementing their own rules.