Fix a few bugs that caused effectors not to turn off sometimes (rules_link is evil!)