A new rule puts foreign money in funds on edge