Add and configure automation rules