Help understanding/coding weather binding (forecast.io)

Check out this thread for a comprehensive example.

OpenHAB is written in Java but the configuration and rules are a domain specific language.

You can create items to represent weather info and in fact must do so if you want to use weather info in your rules.

EDIT: Apparently forgot to add the link