[DSL] Fixed the `class_name` in the `generate` Rake task

Before the patch:

    constant_score => Constant_score

After the patch:

    constant_score => ConstantScore