I was looking for Rule Machine, found this:
… but the links aren’t working. I’m sure I read that the author has removed the SmartApp?