If you have not met the problem before, this is a way to get a feel for it: the rule is all there is to it, and it is undecidable in general.
Made to celebrate every instance of PCP[3,4] finally being resolved: https://github.com/Mojashi/pcp-3-4-proofs