Lets go to basics. Worst case, the capacitor is charging for almost zero time, and discharging for the rest of the time
The half cycle period of the mains is 1/2 x 1 / f.
I = C x dV/dT (This is the standard formula relating current to rate of change of voltage for a capacitor)
So worse case, the capacitor will discharge by dV = (I / C) x dT = I /( C * 2 * f) if you are using a full wave rectifier.
Rewriting this, C = I / (dV * 2 * f)
dV = Vout x Rf (where Rf = the ripple factor. 10% ripple equals a ripple factor of 0.1)
so C = I / ( Vout * Rf * 2 * f )
Put in 0.1 for Rf and it matches the equation you found which is good.
Richard