rewrit