check that the rubric isset before carrying on to avoid an exception being thrown
Merge pull request #597 from unikent/fix/rubric-undefined

A potential fix for #335
Merge pull request #598 from unikent/develop

Merge into master for deploy to live