Added rule to match trailing whitespace as an error