swap header and tabs in rules view templates