Updated rule conversion steps to return the security group ids properly.

Updated destroy static ip to attempt to detach the IP first.