fix detailed rules