Added rule for *~ files and reformatted