Comparison actions implemented.

Signed-off-by: Dmitry Ishchenko <d_ishchenko@i.ua>