Scottish Premiership rivals rocked by drama ahead of Rangers clash