If this then that like rules in a base