Svag matchende rim for generating function