How to use keywords as a star-rating system in Apple Photos for OS X

Photos doesn't have a rating system, but there's still a way to work around it.
    Related:
  • Photography
  • Apple Photos