Hello again!
All right I can get back to you quite quickly since I have the idea that there is not in general the formula you are looking for. Since it is quite easy to find for a given matrix B in the second and third cases a two different matrices C and C' such that the rank of both of these is the same but the rank of the corresponding A is not the same (just try it).
A formula about the rank of the matrix A would try to express it in terms of the ranks of the other two matrices and possibly the dimension of the domain or codomain. But apparently if all of these are equal for two cases the rank of A can still be different. So that's why I think there is no general formula (although I have not proved this).
However all is not lost since the first one is still quite correct and we have some inequalities.
For instance we allways have
[itex]Dim(R(A))=Dim(R(A^T))[/itex]
and
[itex]Dim(R(AB))\leq min(Dim(R(A)),Dim(R(B)))[/itex]
and also (a bit trickier to prove then the last ones but still not too hard)
[itex]Dim(R(AB))\geq Dim(R(A))+Dim(R(B))-n[/itex]
for A a m x n matrix and B a n x k matrix
So this yields for the second formula that for B an m x n matrix and C an k x n matrix
[itex]Dim(R(B))+Dim(R(C))-n\leq Dim(R(A)) \leq min(Dim(R(B)),Dim(R(C)))[/itex]
and for the third formula we find with B an n x m matrix and C an k x n matrix
[itex]Dim(R(B))+Dim(R(C))-n\leq Dim(R(A)) \leq min(Dim(R(B)),Dim(R(C)))[/itex]
may I suggest by the way
http://en.wikibooks.org/wiki/Linear_Algebra/Matrix_Multiplication/Solutions problem 15 in particular.
There are actually a lot more very useful equalities and inequalities about the rank of a matrix so you should probably just search for rank of a matrix and mulitplication to get some references like this one
http://www.m-hikari.com/ija/ija-password-2007/ija-password9-12-2007/dongIJA9-12-2007.pdf
But I suspect that usually for an identity you would need some extra information in the cases two and three.
I hope this helps.
Cheers