Existence of regular synthesis for general control problems