Indonesia will grant amnesty to rebels , except those jailed for common crimes .