pub async fn rules_batch( state: Arc<AppState>, params: RulesBatchParams, ) -> Result<RulesBatchResponse>