Rating task difficulty

Fixes #145.