Why July's market rally may signal it's time to rebalance your portfolio