Make sure to add appropriate line breaks
fix rule output
Fixed unnecessary use of $hook variable
Filewriter stuff mostly works now for cleanup and ban users logic.