for the reaction,

NaOH+HCl yield H20 + NaCl

how is the rule that tells us Na goes with Cl and OH with H? Why does NaCl does not dissociate

Actually, the NaCl is NaCl(aq), which means it is actually dissociated.