Update Rule.set_state and Rule.generate

Rule.set_state now saves as upper case, comma delimited string now strips whitespace.

Rule.generate, if there's no name key value in interface, it will no longer display the interface, before it was displaying -i None or -o None for instance.