Refiner Philadelphia Energy Solutions (PES), which filed for bankruptcy in January blaming the Renewable Fuel Standard (RFS), has reached a deal with the US Environmental Protection Agency (EPA), StateImpact Pennsylvania reported this week.