refactored conversion rule specification
fixed units tests