docs: def aggregate(self, query: Optional[dict] = None,
                    group: Optional[dict] = None,
                    order_by: Union[None, list, tuple] = None) -> list:
          """return aggregation result based on specified rulez query and group"""
          raise NotImplementedError