Add badges rules