sg_rule change return from generator to list

To resolve the issue #1, we change the type which we return from generator to list.