changed TriggerRules to singleton