add abality to remove regpolicy
Merge branch 'develop' into 1.x-stable