some rules fixed