Dundee United midfielder John Rankin is confident the red card he received against St Mirren on Saturday will be overturned on appeal.