I'm currently reading about submersions and immersion's Lee's Introduction to Smooth Manifolds (p.77), and I'm slightly confused about what is meant when he says that the rank of $F$ and $p$ is "the rank of the Jacobian matrix of $F$ in any smooth chart."
Letting $(U,\varphi)$ and $(V,\psi)$ be the local charts at $p$ and $F(p)$, respectively, I was wondering if the Jacobian matrix that was mentioned referred to the Jacobian matrix of $\psi\circ f\circ\varphi^{-1}$. This matrix seems to make sense because $\psi\circ f\circ\varphi^{-1}$ maps between Euclidean spaces, but I was wondering if the "Jacobian matrix of $F$" could be defined in a way that is independent of charts (if this makes any sense).
Given your map $f: M \rightarrow N$ (where $\dim M = m$ and $\dim N = n$), the rank of the Jacobian matrix at a point $p\in M$ is independent of your choice of charts, which is why Lee defines it to be the rank of the differential $df_p : T_pM \rightarrow T_{f(p)}N$, a linear map that does not exist as a matrix until you assign a basis on the tangent spaces. In practice, actually computing the rank of $df_p$ requires you to assign a coordinate chart (over the sets $U \subset M$ and $V \subset N$ let's say) as you've indicated.
The reason rank is independent of the chart chosen is because $\phi : U \rightarrow \mathbb{R}^m$ and $\psi : V \rightarrow \mathbb{R}^n$ are diffeomorphisms, and hence their differentials are isomorphisms on the level of tangent spaces. You should convince yourself then that for purely linear algebraic reasons: $$\text{rank }df_p = \text{rank } d\psi\circ df_p \circ d\phi^{-1} = \text{rank } d(\psi\circ f \circ \phi^{-1})_p.$$ I hope that makes it a little clearer for you!