fix: rules with a '.' are not colored

fixes #1