Updated ruelsets and changed little logic.