advanced rule applier almost works :)