RuleFrame class