Once the shares are credited to your account and shown in your demat as free holding, these rights shares can be sold in the market. Choice of when to sell is yours but just check that that particular ISIN is allowed to be traded in the market.