RuleController Test