Origin of complex quantum amplitudes and Feynman's rules