Convert security group rules tests to httpretty

Change-Id: I7b68712b05764661d3e7c3dcac7fce041e88e293
blueprint: httpretty-testing
Merge "Convert security group rules tests to httpretty"