Optimal Control of Rural Water Supply Network Based on Intelligent Algorithm