Added miscellaneous rules and sorted the div rules alphabetically

See the single commits for details.

(Sorry for the two commits about terminating newline. Seems like I do not have the newlines under my control here in github anyway (a terminating newline is always forced in the end), and I guess it really doesn't matter. :-) )