yes u can get a rank even in second attempt but only if in first attempt u have not got any exemption in any u must not claim it if u claim the chance of rank will be nullified.....
you will get a rank only if u attempt all the papers of both grps without claiming exemption of ur first attempt....