Added stub rule for classes.