Thanks for the pics I found the DPFE, it looks like it was replaced by the previous owner. Same goes for that hose that connects to the PCV valve, it looks like it was replaced as well.
I may have found the solution, I cleaned the IAC the rough idle was still there. Then I cleaned the throttle...