public function getRubrics(RunnerServiceContext $context, AssessmentItemRef $itemRef = null)
    {
        if ($context instanceof QtiRunnerServiceContext) {
            $rubricHelper = $this->getServiceLocator()->get(QtiRunnerRubric::SERVICE_ID);
            return $rubricHelper->getRubrics($context, $itemRef);
        } else {
            throw new \common_exception_InvalidArgumentType(
                'QtiRunnerService',
                'getRubrics',
                0,
                'oat\taoQtiTest\models\runner\QtiRunnerServiceContext',
                $context
            );
        }
    }