boolean-expr: shorten some code
boolean-expr: shorten some code

factor/factor,tgunr/factor,tgunr/factor,mrjbq7/factor,tgunr/factor,mrjbq7/factor,bpollack/factor,AlexIljin/factor,AlexIljin/factor,mrjbq7/factor,bpollack/factor,bpollack/factor,bpollack/factor,AlexIljin/factor,factor/factor,tgunr/factor,tgunr/factor,tgunr/factor,AlexIljin/factor,factor/factor,mrjbq7/factor,factor/factor,AlexIljin/factor,factor/factor,mrjbq7/factor,bpollack/factor,bpollack/factor,bpollack/factor,AlexIljin/factor,mrjbq7/factor,AlexIljin/factor,factor/factor