general webapi interface & rule language examples