The administrator has to set the rule and values. When any user matches the requirement, the system will assign the badge and rewards, if any, to the user.