Recreating McGonogall's Stone Soldier Spell?

The Muto was actually giving the statue attributes of human-ness. Because normally a straight up rego spell would only animate the statue within the maga's specific orders and commands. It wouldn't be able to act on its own intelligence etc. Rego Herbam has this built into the guideline, however that's because plants are inherently living and therefor have some kind of sentience. Stone is harder to make act intelligently... so i was wondering how people would design a spell like that...