def film():
 rebulk = Rebulk().regex_defaults(flags=re.IGNORECASE)
 rebulk.regex('f(\\d{1,2})', name='film', private_parent=True, children=True, formatter=int)
 rebulk.rules(FilmTitleRule)
 return rebulk

def film ( ) : rebulk = Rebulk ( ) . regex_defaults ( flags = re . IGNORECASE ) rebulk . regex ( 'f(\\d{1,2})' , name = 'film' , private_parent = True , children = True , formatter = int ) rebulk . rules ( FilmTitleRule ) return rebulk
builder for rebulk object .