Your mistake was having the AI rewrite at all, don't do that, that is exactly the problem with them - that is them thinking for you. Ask the AI how well you wrote it, make the AI a writing professor, make the AI adopt a Socratic attitude that does not do anything but draws you to make the connection yourself.