add rule for title; refactor rule parameters; provide common method for simple checks