Detect the deleted security groups in the rules if exist