added badge rules