Changing pubs into offices or homes to be made harder under new rules