Implements 'rateable' mechanic to custom posts.