Immediately before expulsion, which of the following cardinal movements occur?