Besides analyzing the form and determining the data items that need to be filled (see Understanding an HTML Form), consider the following when designing the Form Fill policy:
Verifying the Content or Page Type of the Form
Creating a Form Matching Rule
Including JavaScript in a Form Fill Policy
Form Fill Character Sets (UTF-8)