Fixes #1019 by adding validtion that @ClassRule should only be implementation of TestRule
Merge pull request #1020 from NarendraPathai/Issue1019

Added validtion that @ClassRule should only be implementation of TestRule