added rule to copy resources to target