On the resonance conditions of rigid rocking blocks