Rules For Solving Math Problems