The remarks by the Republican presidential candidate came as he addressed a public rally in Pennsylvania.