Applications of vinylogous Mannich reactions. Total syntheses of the Ergot alkaloids rugulovasines A and B and setoclavine.