boost::spirit: implementation of real_policy

Signed-off-by: Alex Dubov <oakad@yahoo.com>