Evolution of planetary ringmoon systems