updates rule logic and propigates to policies