Fixed aws security group handler
Changed to first delete SG rules and then create and changed from using group names to group ID