Rain-shortened second race hands the victory to Whincup