more rules documentation
fix log on pipe death