split off rule to own file
add comments