added ship class and removed rules