add delete ratings functionality (bug 847648)