Rules button now opens a rules window

as i should
probably doesnt work when ran in eclipse