If God is indeed all-knowing, he obviously meant for the rape to happen, so that makes it part of His Plan. Who are we to pass laws or otherwise question His Wisdom?