Fix bug in rules file, add manpages