Rangers have condemned "inappropriate singing" from some of their supporters during their game at Berwick.