add Rules.format()
remove unneccessary file
ignore generated extension
add syntax fomatting button to rules