Is it legal to sell a bitcointalk account? and if it is how much does each rank worth?
Why shouldn't it be? Laws usually don't care about online account ownership. It's probably the one thing the SEC doesn't look after

It might be against Bitcointalk's terms of service, but you regularly see people asking / bidding for Bitcointalk accounts in the Market section without visible repercussions so it seems to be fair game. How many of these trades succeed without either party getting scammed is a different question though.