if your mas was unplugged, its probably a good idea to unplug your battery for 15 minutes to reset your fuel injerctor, fuel to air ratio. you engine will run a little funny while the computer relearns everything, but that should only be for less than a day. that should solve the rough idle...