Not sure how those two points are related…
but one can pay through the nose for these rules.
http://forum.mikrotik.com/t/advanced-routing-failover-without-scripting/136599/1
In terms of Failover, this thread is useful.
http://forum.mikrotik.com/t/advanced-routing-failover-without-scripting/136599/1