I saw an interesting sentence due to play game;
She came to the city fleeing persecution in her home town.
If talking about only meaning, I understand the sentence. She ran away to the city for avoiding persecution from her home town. (if it's not, please fix me.)
But that verb-ing form after to + noun clause is really unfamiliar to me.
What's the name of that gerund rule? Is that even categorized? Is there some kind of omitted word behind the scene like that clause does?