use class Rule instead of raw string