This is a multi-stage fight. First bit is easy. Pound away at him with heaven kick of pain + and use substitutions to hold him off for a chance to charge up your chakra hold . Once his first health bar is done he will use deep forest emergence jutsu to change the layout of the battlefield. he will also change tactics.
During this stage of the fight he will stand on a bent tree to stay out of reach. While up there he has 2 moves. One where he shoots roots out the ground and another where he shoots roots from underneath him; the latter has limited range so isn't really an issue. The first one though will require dodging and possible use of substitution jutsus Once Madara is on the bent tree use one of your supports or to bring him down. Once he is down proceed to smash him up with Heaven Kick of Pain; the ultimate Jutsu ++ also works quite well.
Once his second bar is down he uses great fire annihilation to destroy the forest. This doesn't do much minus changing the way he uses great fire annihilation mid battle and he doesn't get on the tree as much. When he does just dodge the incoming root attack from the ground and first chance you get use a support to knock him down. His new way of using great fire annihilation is to jump up into the air and rotate it; just stay ahead of it or get close so it can't hit you. During this stage you do have to mind falling burning tree parts but its not a big threat. Once his third bar is gone he will activate his Susano.
After a short cutscene you get an ultimate decision. Choose the hero path so you can heal indefinitely. During this bit you will be floating on a cloud. Madara will use his susano's sword to attack you. Its an easy dodge just tilt the left or right and press to dodge to either side and when he swings horizontal back up and tilt down to dodge or hold to guard. He also shoots fire which is easy to dodge. When there is an opening hit him by pressing the after hitting him a few times 6 ying yang symbols appear on Susano's chest. You must destroy these; once they are destroyed you get a prompt to attack with . Once you hit him a few times you will be knocked back. This time he is using great fire annihilation; which is basically a straight line of fire. Hold to guard against it and continue assaulting his susano. You have to repeat this cycle of assault and defense 4 times. On the 3rd time his susano will begin to crack and he will start attacking you with meteors and a stream of spitfires. All of it is very easy to dodge, you just have to pay attention and also mind Susano's sword when you get close. Make sure to use the healing you are allotted by pressing or and continue assaulting. Once his final health bar is below a quarter a series of quick time events will start. Doing them correctly will do some minor healing.
In summary the infinite amount of healing you can do for this fight makes this S rank too easy. You just need to get to his final 2 health bars to access it.