Predicate is a string equality
my $rule = Path::Dispatcher::Rule::Eq->new( string => 'comment', block => sub { display_comment(shift->pos(1)) }, );
Rules of this class simply check whether the string is equal to the path.