solved timing bug when adding/deleting rules the refreh gets triggerd after transaction finished, not individual operation although there is only one operation)