if the wheel looks straight in the frame and the chain is tight then leave it.
what you need to do is loosen the two vertical bolts so the caliper can move about, spin the wheel fast and bring it to a stop using the brake (slowish stop), this will center the caliper on the rotor, with the lever still held in, tighten the two vertical bolts again. Hopefully the caliper is now straight to with the rotor, if not, loosen one bolt at a time and adjust by eye.
If it still rubs, use the adjustment dial to be as close to the rotor as possible without rubbing then back off the cable tension adjusters until the desired lever pull is achieved.