Added grouping to simple_rules