link interface and RuleActivity