[rules-users] Calculating minimal value for a group of facts