Migrate old activity execution to the new rules implementation