Add replacing placeholder for policy rule value into the compile function of a directive. Still need to cleanup.