 This is known as "dimension matching".If formula_25 then the dimensional matching
condition can be reduced to 

with

The acceptance probability will be given by

where formula_29 denotes the absolute value and formula_30 is the joint posterior probability

where formula_32 is the normalising constant.There is an experimental RJ-MCMC tool available for the open source BUGs package.