updated tests of Rules module and Ship class