Added validtion that @ClassRule should only be implementation of TestRule

Fixes #1019 
 - Added validation that `@ClassRule` must be an implementation of `TestRule`