Given that he m
I think playing Madrid will ultimately depend on how he does at USO. If he's out before the SF that gives him a week between matches so he should be good for Madrid. If he reaches USO final then absolutely no chance he plays a tournament on a different surface and a different continent 3 days later.
I think he'll be on the EL for Madrid, Rome and RG but like I said whether he plays Madrid or Rome is dependent on how far he goes.
Rafa's camp has said something on social media about being concerned about playing consecutive weeks.
If he won the US Open, and especially if he played no 5-setters (and he rarely ever plays 5-setters at the US Open), I think he'd be able to play Madrid.
Because I don't think he'll want to play Rome, because he never plays the week before a slam.
Its safer to play the week after slam, than the week before a slam.
In fact he's played on grass just after winning Roland Garros, a few years ago when the schedules were packed closer.