the reason salt and citric acid remove rust is that salt (sodium chloride) and citric or any other weak acid (proton doner) will form HCl, which we all know as muriatic acid! Any acid will help remove rust as it changes it's oxidation state.