After completing the puzzle, the remaining "unknowns" are:
* The trainer in the back of the gym who you can only access after moving the rocks. They use a level 44 Arcanine.
* The entrance to the gym leader Blaine's room. You'll have to move the rocks in the correct order to open up the path to him.
Let me know if you'd like a step-by-step guide on solving the puzzle!