Merge "Change legacy security group rule check"