Only allow single-row result from rule query