fixed typos
moved rule sugar into separate package