update fedex.php

Add checks for the RateType node in RatedShipmentDetails