[rules-users] Better way to find rule with max value