Experimental and DFT studies on competitive heterocyclic rearrangements. Part 2: a one-atom side-chain versus the classic three-atom side-chain (Boulton-Katritzky) ring rearrangement of 3-acylamino-1,2,4-oxadiazoles.