Changes for not recreating security-group rules

we had exhausted all the security group rules under the default security
group. Herein changes are made so, as to check if the default security
group exists and all the rules already exist or not. if Not only then
create the rules.