The rupiah weakened slightly to Rp 13,509 per USD