Fixes list ordering assertion failures

This fixes the failure that occurs when policy_rule lists differ in their ordering, eg:
AssertionError: Lists differ: [(0, 4), (255L, 1L)] != [(255L, 1L), (0L, 4L)]