fixing the grading rule bug
Merge pull request #257 from rofy/master

fixing the grading rule bug