@user.person.submitted_individual_paper_in?(@conference)and# has submitted individual paper in the conference
event.event_type=='Individual Paper'and# Is Individual Paper
event.conference==@conferenceand# Is in the correct conference
event.subcategory.in?(@user.person.subcategories_submitted_in(@conference))and# Is of the right subcategory
notevent.review_reservations.where(person: @user.person).any?and# Has not already been reserved by user
notevent.event_ratings.where(person: @user.person).any?and# Has not already reviewed
(event.ratings_by_submitters+event.peer_review_reservations_count)<2and# has neither 2 reviews by peers, nor 2 reservations, nor 1 review 1 reservation