Complete IO rules, small changes.