Reports malformed @Rule/@ClassRule usages:
Checks for any member that is annotated with @Rule but is not public.
Checks for any member that is annotated with @ClassRule but is not public or not static.