Added basic expression language to support more advanced ruler placement