Added general adjacent selector compilation