Fixes start position for new rule dialog and adds animation when appearing