To clarify: the matte and footage layers each get their own precomp.
Set Matte may work if you precomp both the matte and footage layers (leave all attributes) and set the collapse transformations layer switch on the precomps.