Add query rules to entity collection request