rule object to determine programs