Fix badges rules on badges