Add code rating