Fixed a bug where adding a rule to a group with no rules wouldn't draw correctly