Pattern Hooks and Weights