According to Lewis and Short:I forgot to answer one of your questions: before a consonant, most of the time e and a are used instead of ex and ab.
ex or ē (ex always before vowels, and elsewh. more freq. than e; e. g. in Cic. Rep. e occurs 19 times, but ex 61 times, before consonants—but no rule can be given for the usage; cf., e. g., ex and e together: qui ex corporum vinculis tamquam e carcere evolaverunt, Cic. Rep. 6, 14. But certain expressions have almost constantly the same form, as ex parte, ex sententia, ex senatus consulto, ex lege, ex tempore, etc.; but e regione, e re nata, e vestigio, e medio, and e republica used adverbially;
While the rule for a/ab is this:
The second form of this preposition, changed from ap, was ab, which has become the principal form and the one most generally used through all periods—and indeed the only oue used before all vowels and h; here and there also before some consonants, particularly l, n, r, and s; rarely before c, j, d, t; and almost never before the labials p, b, f, v, or before m,
aps was used only before the letters c, q, t, and was very soon changed into abs
I would assume, then that a would be used all other times.