Hong Kong shares close up on China rally