Russia didn't "rush itself" into being a strong military power. It took iirc 3 months to gather the troops for the second war. For weeks the fighting was done by the police units and village militias of Dagestan, while the military desperately tried to gather the troops necessary for a response. Russia didn't become stronger, it became slightly more organized, learned from the problems of the first war, and made corrections based on it. However the first war could have put an end to Chechen independence had certain political moves not been made.