Merge "Add a test for overlapping SG rules"