Hi tiny-tim

. Thanks for the help
I think I figured it out but I have three assumptions I'm not completely happy about and would like you to see if they're valid:
Initially the center of mass of the ruler is at position y_{c} = R+d and after the ruler is displaced the center of mass of the ruler is at
y_{c'}=R\cdot \varphi\cdot \sin(\varphi)+(R+d)\cdot \cos(\varphi)
(I'm not really sure about the: R\cdot \varphi\cdot \sin(\varphi), sometimes I think it should be (R+d)\cdot \varphi\cdot \sin(\varphi) but if I do so I don't obtain the correct result any more, is this right?).
The frictional force in this case does no work since it's only role is to prevent slipping (I'm I correct?) and so the total energy of the ruler is conserved. And so:
m\cdot g\cdot y_{c}= m\cdot g\cdot y_{c'}+\frac{1}{2}\cdot I\cdot \omega^2
(This is my last uncertainty: is it ok to not take into account the velocity of the center of mass of the ruler?)
Then and using the small angle approximation :
\sin(\varphi)\approx \varphi \ and \ \cos(\varphi)\approx\ 1-\frac{\varphi^2}{2}
m\cdot g\cdot (R-d)\cdot \frac{\varphi^2}{2}+\frac{1}{2}\cdot I\cdot (\frac{d\varphi}{dt})^2=0
And derivating this expression with respect to time yields:
m\cdot g\cdot (R-d)\cdot \varphi\cdot \frac{d\varphi}{dt}+I\cdot \frac{d^2\varphi}{dt^2}\cdot \frac{d\varphi}{dt}=0
Which after some algebric manipulation yields:
\frac{m\cdot g\cdot (R-d)}{I}\cdot \varphi + \frac{d^2\varphi}{dt^2}=0
Which is the equation for SHM with the desired period.
Note:
I_{ruler}=\frac{1}{12}\cdot m\cdot l^2