* minor: add encoding and decoding for policy rule name * move encoding logic to util method * refactor: move the constant to separate file * chore: Remove unnecessary wait for timeout in Policies.spec.ts